Skip to content

Commit

Permalink
GRMLBASE/80-initramfs: no longer set CRYPTSETUP=y
Browse files Browse the repository at this point in the history
Quoting from cryptsetup's Debian packaging git:

| commit 06f8c00c908ffd1fa95c4afc78e9cac462d01d91
| Author: Guilhem Moulin <guilhem@debian.org>
| Date:   Sat Jul 20 19:18:21 2019 -0300
|
|     initramfs: Remove compatibility warnings regarding CRYPTSETUP=[y|n].
|
|     The warning was added in 2:2.0.3-1 for the ‘cryptsetup’ package split
|     into ‘cryptsetup-run’ and ‘cryptsetup-initramfs’.  With the recent
|     Buster release we can now move on: cryptsetup is always copied to the
|     initramfs when the ‘cryptsetup-initramfs’ package is installed.

Given that we have the cryptsetup-initramfs package in GRMLBASE,
we no longer need to use this.

Closes: grml/grml#82
  • Loading branch information
mika committed Apr 1, 2020
1 parent 2ece298 commit e1e107a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etc/grml/fai/config/scripts/GRMLBASE/80-initramfs
Expand Up @@ -20,8 +20,8 @@ fi
echo "Rebuilding initramfs"

for initrd in "$(basename $target/boot/vmlinuz-*)" ; do
if ! CRYPTSETUP=y $ROOTCMD update-initramfs -k "${initrd##vmlinuz-}" -c ; then
echo "Creating fresh initrd did not work, trying update instead:"
CRYPTSETUP=y $ROOTCMD update-initramfs -k "${initrd##vmlinuz-}" -u
if ! $ROOTCMD update-initramfs -k "${initrd##vmlinuz-}" -c ; then
echo "Creating fresh initramfs did not work, trying update instead:"
$ROOTCMD update-initramfs -k "${initrd##vmlinuz-}" -u
fi
done

0 comments on commit e1e107a

Please sign in to comment.