V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m51s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-31 19:13:01 +02:00
parent bdb1365b2e
commit fb68e32876
4 changed files with 12 additions and 3 deletions

View File

@@ -26,6 +26,7 @@ guard_sourcing
# BIOS Boot Partition GRUB | 21686148-6449-6e6f-744e-656564454649 # BIOS Boot Partition GRUB | 21686148-6449-6e6f-744e-656564454649
# Extended Boot Loader Partition | bc13c2ff-59e6-4262-a352-b275fd6f7172 # Extended Boot Loader Partition | bc13c2ff-59e6-4262-a352-b275fd6f7172
# Linux Generic FS (ext4/btrfs) | 0fc63daf-8483-4772-8e79-3d69d8477de4 # Linux Generic FS (ext4/btrfs) | 0fc63daf-8483-4772-8e79-3d69d8477de4
# Linux LUKS | ca7d7ccb-63ed-4c53-861c-1742536059cc
# Swap | 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f # Swap | 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f
# / Partition (amd64/x86_64) | 4f68bce3-e8cd-4db1-96e7-fbcaf984b709 # / Partition (amd64/x86_64) | 4f68bce3-e8cd-4db1-96e7-fbcaf984b709
# /home | 933ac7e1-2eb4-4f13-b844-0e14e2aef915 # /home | 933ac7e1-2eb4-4f13-b844-0e14e2aef915
@@ -252,6 +253,13 @@ partitioning() {
esac esac
case "${var_encryption,,}" in
true)
typecode="ca7d7ccb-63ed-4c53-861c-1742536059cc" ;; ### Linux LUKS Partition
esac
if sgdisk --typecode="${var_part}:${typecode}" "/dev/${var_dev}" &>/dev/null; then if sgdisk --typecode="${var_part}:${typecode}" "/dev/${var_dev}" &>/dev/null; then
do_log "info" "file_only" "3200() Partition: '/dev/${var_dev}${var_part}' GPT typecode '${typecode}' set for '${var_fs}'." do_log "info" "file_only" "3200() Partition: '/dev/${var_dev}${var_part}' GPT typecode '${typecode}' set for '${var_fs}'."

View File

@@ -105,7 +105,7 @@ EOF
else else
write_crypttab "${var_encryption_label}" "UUID=${var_luks_uuid}" "none" "luks,discard" write_crypttab "${var_encryption_label}" "UUID=${var_luks_uuid}" "none" "luks,discard,initramfs"
fi fi

View File

@@ -127,7 +127,8 @@ GRUB_BACKGROUND="/etc/default/grub.d/${var_background}"
# The resolution used on graphical terminal # The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE # note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command 'vbeinfo' # you can see them in real GRUB with the command 'vbeinfo'
GRUB_GFXMODE=1280x1024,1024x768,800x600 # GRUB_GFXMODE=1920x1080,1280x1024,1024x768,800x600
GRUB_GFXMODE=800x600
GRUB_GFXPAYLOAD_LINUX=keep GRUB_GFXPAYLOAD_LINUX=keep
EOF EOF

View File

@@ -55,7 +55,7 @@ dropbear_initramfs() {
insert_comments "${TARGET}/etc/apt/preferences.d/99-prefer-openssh" insert_comments "${TARGET}/etc/apt/preferences.d/99-prefer-openssh"
cat << EOF >> "${TARGET}/etc/apt/preferences.d/99-prefer-openssh" cat << EOF >> "${TARGET}/etc/apt/preferences.d/99-prefer-openssh"
# Prevent the dropbear *daemon* from being installed at all. # Prevent the dropbear *daemon* from being installed at all.
# DO NOT block dropbear-bin needed by dropbear-initramfs. # DO NOT block 'dropbear-bin' needed by 'dropbear-initramfs'.
Package: dropbear Package: dropbear
Pin: release * Pin: release *