diff options
author | Sven Gothel <[email protected]> | 2021-07-18 09:17:13 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2021-07-18 09:17:13 +0200 |
commit | eb5efe3f333c2231b820a4798f41852c4d953586 (patch) | |
tree | 44fee5c961810d3f83ea8d60b2f6e2a8fe1d4e5a | |
parent | 5111cc860bc750902f8e374c267c671292bcb98f (diff) |
initramfs: Ensure package lzop is installed and in initrd to benefit from faster inflater
-rw-r--r-- | stage2/01-sys-tweaks/00-packages | 1 | ||||
-rw-r--r-- | stage2/01-sys-tweaks/00-packages-bullseye | 1 | ||||
-rwxr-xr-x | stage2/01-sys-tweaks/files/initramfs/extra_execs | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/stage2/01-sys-tweaks/00-packages b/stage2/01-sys-tweaks/00-packages index 7e2ddc0..ab1aff3 100644 --- a/stage2/01-sys-tweaks/00-packages +++ b/stage2/01-sys-tweaks/00-packages @@ -18,6 +18,7 @@ libfreetype6-dev dosfstools squashfs-tools fatattr +lzop #dphys-swapfile bluez rfkill diff --git a/stage2/01-sys-tweaks/00-packages-bullseye b/stage2/01-sys-tweaks/00-packages-bullseye index 1e079d8..683e70b 100644 --- a/stage2/01-sys-tweaks/00-packages-bullseye +++ b/stage2/01-sys-tweaks/00-packages-bullseye @@ -18,6 +18,7 @@ libfreetype6-dev dosfstools squashfs-tools fatattr +lzop #dphys-swapfile bluez rfkill diff --git a/stage2/01-sys-tweaks/files/initramfs/extra_execs b/stage2/01-sys-tweaks/files/initramfs/extra_execs index 0c668c2..788d3e1 100755 --- a/stage2/01-sys-tweaks/files/initramfs/extra_execs +++ b/stage2/01-sys-tweaks/files/initramfs/extra_execs @@ -14,7 +14,7 @@ prereqs) ;; esac -if [ ! -x /usr/bin/unsquashfs -o ! -x /bin/lsblk -o ! -x /sbin/blkid -o ! -x /bin/date ]; then +if [ ! -x /usr/bin/unsquashfs -o ! -x /bin/lsblk -o ! -x /sbin/blkid -o ! -x /bin/date -o ! -x /usr/bin/lzop ]; then exit 1 fi @@ -25,3 +25,4 @@ copy_exec /usr/bin/unsquashfs copy_exec /bin/lsblk copy_exec /sbin/blkid copy_exec /bin/date +copy_exec /usr/bin/lzop |