Package Base Details: linux-amd-znver2

Git Clone URL: https://aur.archlinux.org/linux-amd-znver2.git (read-only, click to copy)
Submitter: eggz
Maintainer: eggz (NhaMeh)
Last Packager: eggz
Votes: 16
Popularity: 0.75
First Submitted: 2020-10-26 18:04 (UTC)
Last Updated: 2024-04-27 16:32 (UTC)

Pinned Comments

eggz commented on 2020-10-26 18:15 (UTC)

Tired of compiling? Use this binary repo instead! Add this at the end of /etc/pacman.conf :

[linuxkernels]
Server = http://nhameh.ovh/$repo/$arch
SigLevel = Optional TrustAll

Latest Comments

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 Next › Last »

Kryesh commented on 2021-01-24 11:12 (UTC)

That was fast! I rebuilt the package it looks like it did the trick, awesome work

Thanks again for making and maintaining this build!

eggz commented on 2021-01-24 09:49 (UTC)

Kryesh, thanks to your clear indications, I found the problem.

The "order" you are withnessing with linux-zen (and not with my kernel) is because of the "/usr/share/libalpm/hooks/90-mkinitcpio-install.hook" pacman hook.

Apperantly, it expects the vmlinuz to be also (next to /boot obviously) written to /usr/lib/modules/*/vmlinuz. I adapted the packaging to do this, to respect this particular pacman hook.

For me, this extra copy seems to the trick (and the declaration of the "pkgbase" since this particular hook seems to need that).

Let me know the results.

eggz commented on 2021-01-24 02:03 (UTC)

hey there, thx for letting me know.

there are no real diffrences between my linux.install file and the (hidden, but still on the git of) linux-zen.install file, we both call depmod and then do a mkinicpio in that order.

please note that you are comparing an upgrade to a reinstall, though I do think you are still on to something here.

I'll take a look at this interesting topic when I have the time.

Thanks again.

Kryesh commented on 2021-01-24 01:11 (UTC) (edited on 2021-01-24 01:29 (UTC) by Kryesh)

Hi, Thanks for making this package!

I think I've found a minor ordering issue with the package installation, the initcpio image is generated before dkms modules are built. this means that if there is a dkms package included in the mkinicpio config the image fails to build. rerunning "sudo mkinitcpio -p linux-amd-znver2" after package installation builds the images correctly as the dkms processes have completed. In my case it's necessary as I need to include zfs-dkms.

From yay output:

--snip--
-> Running build hook: [zfs]
==> ERROR: module not found: `zavl'
==> ERROR: module not found: `znvpair'
==> ERROR: module not found: `zunicode'
==> ERROR: module not found: `zcommon'
==> ERROR: module not found: `zfs'
==> ERROR: module not found: `spl'
  -> Running build hook: [mdadm_udev]
Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays.
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-amd-znver2-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
(2/2) upgrading linux-amd-znver2-headers                  [###############################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Install DKMS modules
==> dkms install --no-depmod -m zfs -v 2.0.1 -k 5.10.10-AMD-znver2
==> dkms install --no-depmod -m ddcci -v 0.3.3 -k 5.10.10-AMD-znver2
==> depmod 5.10.10-AMD-znver2
--snip--

Example from the linux-zen package with correct ordering:

--snip--
:: Processing package changes...
(1/2) reinstalling linux-zen                                                                                                           [##################################################################################] 100%
(2/2) reinstalling linux-zen-headers                                                                                                   [##################################################################################] 100%
:: Running post-transaction hooks...
(1/5) Restoring Linux kernel modules...
++ uname -r
+ KVER=5.10.9-AMD-znver2
+ test -e /usr/lib/modules/backup/5.10.9-AMD-znver2
+ rm -rf /usr/lib/modules/backup
(2/5) Arming ConditionNeedsUpdate...
(3/5) Updating module dependencies...
(4/5) Install DKMS modules
==> dkms install --no-depmod -m zfs -v 2.0.1 -k 5.10.9-zen1-1-zen
==> dkms install --no-depmod -m ddcci -v 0.3.3 -k 5.10.9-zen1-1-zen
==> depmod 5.10.9-zen1-1-zen
(5/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default'
  -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img
--snip--

I hope that makes sense, thanks!

DanEng1982 commented on 2021-01-01 12:17 (UTC)

Hey, I wish you a happy new year. I love your work and I was just wondering if you would be happy to upstream your updates to the Hefftor Linux Repo? If so, can you please contact me either via the Hefftor Linux Official Telegram group under nickname Able Archer or under daniel.engelthaler@gmail.com ? Thank you very much! Dan

hockeymikey commented on 2020-12-22 07:18 (UTC)

@eggz you're amazing! Working great

eggz commented on 2020-12-20 11:59 (UTC)

@hockeymikey

Great catch. I made the headerpackage more flexible, normally this shouldn't happen anymore in the future for other modules.

Thanks again. Let me know if the compile works now!

hockeymikey commented on 2020-12-20 08:06 (UTC)

Hey, dt-bindings is missing inside build/include (unsure what it exactly is) but need it for some compiling.

Scimmia commented on 2020-12-10 16:42 (UTC)

Please see the warning here: https://wiki.archlinux.org/index.php/Kernel/Arch_Build_System#Modifying_the_PKGBUILD

eggz commented on 2020-11-23 17:09 (UTC)

Oh gosh, I guess I never needed exfat for a while... Good catch arnaud!!