update calamares configs and files

This commit is contained in:
manuel 2024-09-08 15:29:46 +00:00
parent 46ec2494c1
commit f9c3d9c301
5 changed files with 12 additions and 20 deletions

View File

@ -29,9 +29,14 @@ case "$ARCH" in
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-pc DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-pc
fi fi
;; ;;
i686) i686)
if [ -d /sys/firmware/efi/efivars ]; then
echo " * Installing grub-efi-ia32 (uefi 32-bit)..." echo " * Installing grub-efi-ia32 (uefi 32-bit)..."
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-efi-ia32 DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-efi-ia32
else
echo " * Installing grub-pc (bios 32-bit)..."
DEBIAN_FRONTEND=noninteractive chroot $CHROOT apt-get -y install grub-pc
fi
;; ;;
aarch64) aarch64)
echo " * Installing grub-efi-arm64 (uefi arm64)..." echo " * Installing grub-efi-arm64 (uefi arm64)..."

View File

@ -76,6 +76,7 @@ sequence:
- bootloader-config - bootloader-config
- grubcfg - grubcfg
- bootloader - bootloader
- packages
- luksbootkeyfile - luksbootkeyfile
- luksopenswaphookcfg - luksopenswaphookcfg
- plymouthcfg - plymouthcfg

View File

@ -5,18 +5,6 @@
# "local" is LIBDIR/calamares/modules with settings in SHARE/calamares/modules # "local" is LIBDIR/calamares/modules with settings in SHARE/calamares/modules
modules-search: [ local, /usr/lib/calamares/modules ] modules-search: [ local, /usr/lib/calamares/modules ]
# YAML: list of maps of string:string key-value pairs.
instances:
- id: packages
module: netinstall
config: netinstall-packages.conf
- id: system
module: netinstall
config: netinstall-system.conf
- id: pkgs
module: netinstall
config: netinstall-pkgs.conf
# If this is set to true, Calamares refers to itself as a "setup program" # If this is set to true, Calamares refers to itself as a "setup program"
# rather than an "installer". Defaults to the value of dont-chroot, but # rather than an "installer". Defaults to the value of dont-chroot, but
# Calamares will complain if this is not explicitly set. # Calamares will complain if this is not explicitly set.
@ -61,7 +49,6 @@ sequence:
- locale - locale
- keyboard - keyboard
- partition - partition
- netinstall@packages
- users - users
- summary - summary

View File

@ -22,11 +22,11 @@ fi
# Defines the variables # Defines the variables
GRUB_DEFAULT=0 GRUB_DEFAULT=0
GRUB_TIMEOUT=5 GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Peppermint" GRUB_DISTRIBUTOR="My-distro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="" GRUB_CMDLINE_LINUX=""
GRUB_GFXMODE=1360x768 GRUB_GFXMODE=1440x900
GRUB_THEME="/boot/grub/themes/peppermint/theme.txt" GRUB_THEME="/boot/grub/themes/my-distro/theme.txt"
GRUB_DISABLE_OS_PROBER=false GRUB_DISABLE_OS_PROBER=false
# GRUB configuration file path # GRUB configuration file path

View File

@ -230,7 +230,6 @@ mkdir -p $build/build/config/archives
mkdir -p $build/build/config/includes.binary mkdir -p $build/build/config/includes.binary
mkdir -p $build/build/config/hooks/live mkdir -p $build/build/config/hooks/live
mkdir -p $build/build/config/hooks/normal mkdir -p $build/build/config/hooks/normal
mkdir -p $build/build/config/bootloaders
mkdir -p $build/build/config/packages.chroot mkdir -p $build/build/config/packages.chroot
mkdir -p $build/build/config/includes.chroot/etc mkdir -p $build/build/config/includes.chroot/etc
mkdir -p $build/build/config/includes.chroot/usr/lib/live/config mkdir -p $build/build/config/includes.chroot/usr/lib/live/config
@ -244,8 +243,8 @@ mkdir -p $build/build/config/includes.chroot/etc/dpkg/origins
mkdir -p $build/build/config/includes.chroot/usr/sbin mkdir -p $build/build/config/includes.chroot/usr/sbin
mkdir -p $build/build/config/includes.chroot/etc/lightdm mkdir -p $build/build/config/includes.chroot/etc/lightdm
mkdir -p $build/build/config/includes.chroot/usr/share/pixmaps mkdir -p $build/build/config/includes.chroot/usr/share/pixmaps
mkdir -p $build/build/config/includes.chroot/usr/share/plymouth/themes #mkdir -p $build/build/config/includes.chroot/usr/share/plymouth/themes
mkdir -p $build/build/config/includes.chroot/usr/share/desktop-base #mkdir -p $build/build/config/includes.chroot/usr/share/desktop-base
mkdir -p $build/build/config/includes.chroot/etc/skel/Desktop mkdir -p $build/build/config/includes.chroot/etc/skel/Desktop
mkdir -p $build/build/config/includes.chroot/boot/grub/themes mkdir -p $build/build/config/includes.chroot/boot/grub/themes
mkdir -p $build/build/config/includes.chroot/usr/lib/calamares/modules mkdir -p $build/build/config/includes.chroot/usr/lib/calamares/modules