I’m in the process of migrating my custom kernel to Arch/EOS, currently, this is 5.8-rc.
As Manjaro uses a custom mkinitcpio, some changes to the PKGBUILD were necessary.
However, I left Manjaro’s extramodules handling in place.
From what I can tell, EOS doesn’t use extramodules, and relies on dkms for out-of-tree modules, is that correct?
If you want to have a look at it, and maybe even compile and install it, here you go:
(Note: it still says “for Manjaro”, haven’t updated that part yet)
(Note 2: virtualbox host modules do not work yet with 5.8)
Both dkms and extramodule work correctly.
However dkms does not work if the kernel is compiled with Clang, but this is a known problem: CC=clang has to be passed to make in dkms.conf.
So it seems that both ways are possible, which is good news
vd is rather an old term, the new term is STD So don’t use that one either.
This is starting to sound like a class I took in high school.
Just for historic reference, I graduated from high school in 1968. Yah, hippies, Vietnam War, Timothy Leary, and a lot of other weird stuff.
Compiled and packaged 5.8.0-3 on my GL702ZC, when I install I hit:
(4/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux58-vd.preset: 'default'
-> -k /boot/vmlinuz-linux58-vd -c /etc/mkinitcpio.conf -g /boot/initramfs-linux58-vd.img -z zstd
==> Starting build: 5.8.0-vd-3
-> Running build hook: [base]
-> Running build hook: [systemd]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
-> Running build hook: [keyboard]
-> Running build hook: [sd-vconsole]
-> Running build hook: [resume]
-> Running build hook: [fsck]
-> Running build hook: [filesystems]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux58-vd.img
Incorrect parameters
Usage :
zstd [args] [FILE(s)] [-o file]
FILE : a filename
with no FILE, or when FILE is - , read standard input
Arguments :
-# : # compression level (1-19, default: 3)
-d : decompression
-D DICT: use DICT as Dictionary for compression or decompression
-o file: result stored into `file` (only 1 output file)
-f : overwrite output without prompting, also (de)compress links
--rm : remove source file(s) after successful de/compression
-k : preserve source file(s) (default)
-h/-H : display help/long help and exit
bsdtar: Write error
bsdtar: Write error
==> ERROR: Image generation FAILED: bsdtar (step 1) reported an error
Used the generic x86_64.config and skipped nconfig.
I have this in my mkinitcpio.conf:
MODULES=(xxhash crc32c amdgpu lz4 lz4_compress)
...
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
COMPRESSION="lz4"
# COMPRESSION_OPTIONS
# Additional options for the compressor
COMPRESSION_OPTIONS=(-12 --favor-decSpeed)