new commit

This commit is contained in:
Manuel 2022-11-10 08:44:57 -01:00
parent 4f9edcc205
commit f41e61aed8
2 changed files with 0 additions and 22 deletions

View File

@ -1,21 +0,0 @@
#!/bin/bash
CHROOT=$(mount | grep proc | grep calamares | awk '{print $3}' | sed -e "s#/proc##g")
# Set secure permissions for the initramfs if we're configuring
# full-disk-encryption. The initramfs is re-generated later in the
# installation process so we only set the permissions snippet without
# regenerating the initramfs right now:
if [ "$(mount | grep $CHROOT" " | cut -c -16)" = "/dev/mapper/luks" ]; then
echo "UMASK=0077" > $CHROOT/etc/initramfs-tools/conf.d/initramfs-permissions
fi
echo "Running bootloader-config..."
if [ -d /sys/firmware/efi/efivars ]; then
echo " * Installing grub-efi (uefi)..."
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-efi-ia32 cryptsetup keyutils
else
echo " * install grub... (bios)"
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-pc cryptsetup keyutils
fi

View File

@ -35,7 +35,6 @@ lb config noauto \
--security true \ --security true \
--cache true \ --cache true \
--apt-recommends true \ --apt-recommends true \
--apt-options "--yes -oAcquire::allow-remove-essential=true" \
--firmware-binary true \ --firmware-binary true \
--firmware-chroot true \ --firmware-chroot true \
--iso-application "My-distro" \ --iso-application "My-distro" \