It make sense that kernel should not be in /boot directly, and that we want a simple tool to take care of everything. It is a good design for this part. But I just don't like the name for the tool (mkinitcpio). It should be more like boot-manager or maybe bootctl (if systemd acquire it), it is not only, or maybe not at all for initcpio. It is esp. for clear kernel since it has almost every possible rootfs built in. And this idea should also apply to ucode. They should not be in /boot either. Has it been decided where they should go ?
Search Criteria
Package Details: linux-clear-bin 5.10.19.1032-1
Git Clone URL: | https://aur.archlinux.org/linux-clear-bin.git (read-only, click to copy) |
---|---|
Package Base: | linux-clear-bin |
Description: | Clear Linux kernel and modules in binary |
Upstream URL: | https://github.com/clearlinux-pkgs/linux |
Licenses: | |
Provides: | |
Submitter: | yw662 |
Maintainer: | aorth |
Last Packager: | aorth |
Votes: | 8 |
Popularity: | 0.52 |
First Submitted: | 2019-08-04 22:33 |
Last Updated: | 2021-03-05 15:32 |
Dependencies (7)
- coreutils (coreutils-git, coreutils-selinux)
- kmod (kmod-nc, kmod-git, kmod-minimal-git)
- linux-firmware (linux-firmware-git, linux-firmware-iwlwifi-git, linux-libre-firmware)
- crda (crda-git, wireless-regdb-pentest) (optional) – to set the correct wireless channels of your country
- intel-ucode-clear (optional) – intel cpu and i915 firmware
- linux-clear-headers-bin (optional) – header files for the kernel
- mkinitcpio>=0.7 (mkinitcpio-git, mkinitcpio-nosystemd, mkinitcpio-nohooks-git) (optional) – to create custom init cpio
Required by (6)
- mozillavpn (requires WIREGUARD-MODULE)
- networkmanager-wireguard (requires WIREGUARD-MODULE)
- networkmanager-wireguard-git (requires WIREGUARD-MODULE)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
- wireguard-tools-git (requires WIREGUARD-MODULE)
Sources (2)
yw662 commented on 2020-12-13 10:10
aorth commented on 2020-12-13 09:15
I must have got a bit confused but, what is the right way to copy the kernel to /boot ? I see no alpm hooks here.
@yw662 in 2019-11 there were changes to Arch's mkinitcpio package. Installation to /boot
is automatic when usr/lib/modules/*/vmlinuz
is changed.
I updated linux-clear-bin here: https://aur.archlinux.org/cgit/aur.git/commit/?h=linux-clear-bin&id=c3e28f0845d3e78c0cbe3dd527a4ae0a6109fce8
yw662 commented on 2020-12-11 17:38
I must have got a bit confused but, what is the right way to copy the kernel to /boot ? I see no alpm hooks here.
aorth commented on 2020-06-11 10:08
@asasione that's a known issue that is harmless. It will be fixed with an update to mkinitcpio eventually. See:
asasione commented on 2020-06-11 09:51
I am getting two errors on this kernel:
cp: cannot stat '(builtin)': No such file or directory
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-clear-bin-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
Error while configuring
Error: command failed to execute correctly
Is there some configuration missing for this kernel?
mashaal95 commented on 2020-04-24 04:01
@aorth your latest fix has worked. Thank you! One more thing though, this small warning has always popped up while upgrading:
==> Generating module dependencies ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-clear-bin-fallback.img ==> WARNING: errors were encountered during the build. The image may not be complete. Error while configuring Error: command failed to execute correctly
aorth commented on 2020-04-23 12:51
@mashaal95 the name of the source files never change (Manifest.kernel-native) so you need to remove them after every build. Let me see if I can modify the PKGBUILD to use unique names for these files.
Edit: as of 5.6.6.942-1 the PKGBUILD now uses unique names for these files and should not cause issues with users not clearing their build directory between builds.
dedguy21 commented on 2020-04-23 02:57
@mashaal95 -- I had the same issue before, I basically it wasn't overwriting a file that needed to be overwritten. So I had to complete delete the folder and bring it in as new.
I was using git directly, you might be using yay or not, but if you are, doing it as new build option instead of the default 'no'
mashaal95 commented on 2020-04-23 02:44
I have just received an update to the kernel today but unfortunately, its giving me this error:
==> Validating source files with b2sums... Manifest.kernel-native ... FAILED pack-kernel-native-from-0.tar ... FAILED ==> ERROR: One or more files did not pass the validity check!
Any clue on how to solve it?
lucasrizzini commented on 2020-04-10 22:56
Is there any wait to apply the futex-wait-multiple patch here?
Pinned Comments
aorth commented on 2020-04-09 07:01
Stock kernel parameters are saved in
/boot/vmlinuz-linux-clear.cmdline
. Although you may not need to apply all the parameters, you should copy most of these into your systemd-boot or GRUB configuration.If you are using out-of-tree kernel modules with dkms you will need to add the
module.sig_unenforce
parameter to allow loading of unsigned kernel modules.Please check the Clear Linux kernel releases on GitHub (not kernel.org) before flagging out of date here.