Giter VIP home page Giter VIP logo

Comments (11)

jiang131072 avatar jiang131072 commented on July 30, 2024

The script is here : deploy/LenovoLegionLinux.
It checks the installation of mkinitcpio and dracut, however the mkinitcpio branch is commented out. Logic here is strange.

from lenovolegionlinux.

st0nie avatar st0nie commented on July 30, 2024

Yeah, the hook is broken and should be removed
The kernel-module is unrelated to initramfs
CC @MrDuartePT
We'd like to accept a patch to fix the PKGBUILD

from lenovolegionlinux.

MrDuartePT avatar MrDuartePT commented on July 30, 2024

The script is here : deploy/LenovoLegionLinux. It checks the installation of mkinitcpio and dracut, however the mkinitcpio branch is commented out. Logic here is strange.

Basically I comment wrong, should haven't only comment line 13 to prevent mkinitcpio of running twices (basically arch already has a hook that run mkinitcpio when a out-of-kernel tree module is install.
Also the install dosen't fail since, I just need to add a messange to mkinitcpio like: "Using mkinitcpio arch linux hook"

from lenovolegionlinux.

MrDuartePT avatar MrDuartePT commented on July 30, 2024
$ legion_cli
Traceback (most recent call last):
  File "/usr/bin/legion_cli", line 5, in <module>
    from legion_linux.legion_cli import main
ModuleNotFoundError: No module named 'legion_linux'

Now this error I don't understand why it happen please check if legion_linux is available on legion_linux python install directory. Since the AUR PKGBUILD is base on the gentoo ebuild and the gentoo ebuild is still working fine

from lenovolegionlinux.

MrDuartePT avatar MrDuartePT commented on July 30, 2024

@st0nie @Linkachus17 looking at the action logs the aur shouldn't give that error: https://github.com/johnfanv2/LenovoLegionLinux/actions/runs/8957813959/job/24601322012#step:3:4340

The arch linux container install the packages by cloning the aur repo.

from lenovolegionlinux.

MrDuartePT avatar MrDuartePT commented on July 30, 2024

I can not reproduce this error on manjaro live cd, and since the github action also don't have the error I would assume is your arch install and not the PKGBUILD.
image

Closing since is not a bug LLL

from lenovolegionlinux.

MrDuartePT avatar MrDuartePT commented on July 30, 2024

@Linkachus17 seems that arch linux change to python3.12 recently you probably need to uninstall and install LLL again

from lenovolegionlinux.

Linkachus17 avatar Linkachus17 commented on July 30, 2024

I can confirm that there's something wrong with my Arch install previously, not sure why. I reinstalled my Arch last night and now LLL works fine
image

from lenovolegionlinux.

PinkSerenity avatar PinkSerenity commented on July 30, 2024

I had the same error. I think it's related to this:

Module version  for legion-laptop.ko.zst
exactly matches what is already found in kernel 6.9.3-arch1-1.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
==> WARNING: `dkms install --no-depmod lenovolegionlinux/1.0.0 -k 6.9.3-arch1-1' exited 6

Running dkms install --no-depmod --force lenovolegionlinux/1.0.0 -k 6.9.3-arch1-1 seemed to fix it for me.

from lenovolegionlinux.

MrDuartePT avatar MrDuartePT commented on July 30, 2024

I had the same error. I think it's related to this:

No, it not related since is the module and not Python app


Module version  for legion-laptop.ko.zst

exactly matches what is already found in kernel 6.9.3-arch1-1.

DKMS will not replace this module.

If you read the message carefully, it explains you already have the module install so dkms will not replace it.

from lenovolegionlinux.

PinkSerenity avatar PinkSerenity commented on July 30, 2024

No, it not related since is the module and not Python app

Doesn't the Python app depend on the module?

If you read the message carefully, it explains you already have the module install so dkms will not replace it.

Yeah, which is why I --forced it. I think maybe the previous module didn't properly get removed when I un-installed and reinstalled the package. So I always had the apparently corrupted module, and only like this I was able to replace it.

By the way, I also deleted the LLL directory in /var/libs/dkms/. I remember that I once updated the Nvidia driver and an old directory remained there, so mkinitcpio complained about a missing config.

from lenovolegionlinux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.