diff --git a/.build/images/dietpi-build b/.build/images/dietpi-build index 1c850759cd..8f223bff03 100755 --- a/.build/images/dietpi-build +++ b/.build/images/dietpi-build @@ -1262,7 +1262,6 @@ then # - Mount and edit dietpi.txt G_EXEC mkdir rootfs G_EXEC mount "${FP_LOOP}p1" rootfs - G_CONFIG_INJECT 'AUTO_UNMASK_LOGIND=' 'AUTO_UNMASK_LOGIND=1' rootfs/boot/dietpi.txt # - Remove loop device G_EXEC sync G_EXEC sleep 1 diff --git a/.build/images/dietpi-installer b/.build/images/dietpi-installer index 2c376c2ad3..8b5ca734a0 100755 --- a/.build/images/dietpi-installer +++ b/.build/images/dietpi-installer @@ -1021,6 +1021,8 @@ setenv rootuuid "true"' /boot/boot.cmd then # VM: Install tiny-initramfs with limited features but sufficient and much smaller + faster apackages+=('tiny-initramfs') + # Enable systemd-logind by default for ACPI functionality, required for shutdown/reboot via virtualiser + G_CONFIG_INJECT 'AUTO_UNMASK_LOGIND=' 'AUTO_UNMASK_LOGIND=1' /boot/dietpi.txt else # Install and use zstd for better initramfs compression apackages+=('initramfs-tools' 'zstd')