Skip to content

Commit

Permalink
cryptroot: Update to remove manual kernel module insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewey-rpi committed Nov 22, 2024
1 parent 336a25b commit 00cefe1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion configurations/cryptroot_image/components.parameters
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SSH=1
SSH=0
UDEV=0
NETWORK=0
AUTOLOGIN=0
8 changes: 0 additions & 8 deletions cryptroot/init_cryptroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@

set -e

/sbin/insmod /lib/modules/"$(uname -r)"/kernel/drivers/md/dm-mod.ko.xz
/sbin/insmod /lib/modules/"$(uname -r)"/kernel/drivers/md/dm-crypt.ko.xz
/sbin/insmod /lib/modules/"$(uname -r)"/kernel/crypto/af_alg.ko.xz
/sbin/insmod /lib/modules/"$(uname -r)"/kernel/crypto/algif_skcipher.ko.xz
/sbin/insmod /lib/modules/"$(uname -r)"/kernel/lib/crypto/libaes.ko.xz
/sbin/insmod /lib/modules/"$(uname -r)"/kernel/crypto/aes_generic.ko.xz
/sbin/insmod /lib/modules/"$(uname -r)"/kernel/arch/arm64/crypto/aes-arm64.ko.xz

/usr/bin/cryptkey-fetch | /sbin/cryptsetup luksOpen /dev/mmcblk0p2 cryptroot

/usr/bin/busybox mount /dev/mapper/cryptroot /mnt
Expand Down
Binary file modified packages/Packages.gz
Binary file not shown.
Binary file modified packages/cryptroot-package_1.0.1_arm64.deb
Binary file not shown.

0 comments on commit 00cefe1

Please sign in to comment.