Add missing cryptsetup binary to alpine initrd (#478)

This commit is contained in:
Itxaka
2023-10-10 12:12:41 +02:00
committed by GitHub
parent 1e43ee29cd
commit e00b70c93e
2 changed files with 3 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ copy:
package_dir: "/package"
prelude:
- apk update
- apk add linux-rpi4 mkinitfs linux-firmware-none udev lvm2 findmnt rsync parted
- apk add linux-rpi4 mkinitfs linux-firmware-none udev lvm2 findmnt rsync parted cryptsetup
steps:
- kernel=$(ls /lib/modules | head -n1) && depmod -a "${kernel}"
- mkdir -p /package/boot
@@ -50,7 +50,7 @@ copy:
package_dir: "/package"
prelude:
- apk update
- apk add linux-lts linux-firmware-none mkinitfs udev lvm2 findmnt rsync parted
- apk add linux-lts linux-firmware-none mkinitfs udev lvm2 findmnt rsync parted cryptsetup
steps:
- kernel=$(ls /lib/modules | head -n1) && depmod -a "${kernel}"
- mkdir -p /package/boot

View File

@@ -1,6 +1,7 @@
/usr/bin/immucore
/usr/bin/kairos-agent
/sbin/lvm
/sbin/cryptsetup
/bin/findmnt
/bin/udevadm
/sbin/udevadm