Update initramfs_create with depressing RHEL based *.ko.xz kernel modules (#279)

This commit is contained in:
meibutsuotoko
2024-11-14 15:50:16 +08:00
committed by GitHub
parent d2a09b19ea
commit 9825e93757

View File

@@ -136,6 +136,7 @@ copy_including_deps /usr/share/terminfo/l/linux
find $INITRAMFS -name "*.ko.gz" -exec gunzip {} \;
find $INITRAMFS -name "*.ko.xz" -exec xz -d {} \;
# trim modules.order file. Perhaps we could remove it entirely
MODULEORDER="$(cd "$INITRAMFS/$LMK/"; find -name "*.ko" | sed -r "s:^./::g" | tr "\n" "|" | sed -r "s:[.]:.:g")"