From 21da84e5e2b6a60bd7b57c86c0a11fac3ee27b7f Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Fri, 23 Sep 2022 18:25:57 -0700 Subject: [PATCH] Update Archiso profile to match upstream changes --- setup/build_linux | 2 -- setup/linux/packages/base | 9 ++++++++- setup/linux/packages/dependencies | 4 +++- .../efiboot/loader/entries/01-archiso-x86_64-linux.conf | 3 ++- .../loader/entries/02-archiso-x86_64-ram-linux.conf | 3 ++- setup/linux/profile_base/profiledef.sh | 3 ++- 6 files changed, 17 insertions(+), 7 deletions(-) diff --git a/setup/build_linux b/setup/build_linux index 35e44b94..5d9fae60 100755 --- a/setup/build_linux +++ b/setup/build_linux @@ -359,8 +359,6 @@ function build_iso() { | tee -a "$LOG_DIR/$DATETIME.log" # Build better ISO - rm -r "${ISO_DIR:-safety}/EFI" - rm -r "${ISO_DIR:-safety}/loader" rsync -aI "$PROFILE_DIR/EFI/" "${ISO_DIR:-safety}/EFI/" rsync -aI --ignore-existing "$PROFILE_DIR/syslinux/" "${ISO_DIR:-safety}/syslinux/" ## Sketchy bit ## diff --git a/setup/linux/packages/base b/setup/linux/packages/base index 96322d76..7859ef06 100644 --- a/setup/linux/packages/base +++ b/setup/linux/packages/base @@ -8,6 +8,7 @@ bc bind bluez bluez-utils +btrfs-progs chntpw cmatrix colordiff @@ -18,9 +19,13 @@ ddrescue device-mapper diffutils dmidecode +dmraid dos2unix +dosfstools e2fsprogs edk2-shell +exfatprogs +gptfdisk hexedit hfsprogs htop @@ -50,17 +55,19 @@ mprime mtools nano ncdu +nvme-cli openssh p7zip perl pipes.sh -reiserfsprogs pv python python-docopt python-psutil python-pytz python-requests +qemu-guest-agent +reiserfsprogs reiserfsprogs rfkill rng-tools diff --git a/setup/linux/packages/dependencies b/setup/linux/packages/dependencies index 410002a2..ac458384 100644 --- a/setup/linux/packages/dependencies +++ b/setup/linux/packages/dependencies @@ -10,6 +10,7 @@ gtk-doc gtk3 hwloc imlib2 +intltool iwd json-glib lhasa @@ -27,10 +28,11 @@ openssh p7zip pango perl-rename -reiserfsprogs pv refind +reiserfsprogs rsync +scdoc startup-notification subversion syslinux diff --git a/setup/linux/profile_base/efiboot/loader/entries/01-archiso-x86_64-linux.conf b/setup/linux/profile_base/efiboot/loader/entries/01-archiso-x86_64-linux.conf index a8401674..05e5c9b9 100644 --- a/setup/linux/profile_base/efiboot/loader/entries/01-archiso-x86_64-linux.conf +++ b/setup/linux/profile_base/efiboot/loader/entries/01-archiso-x86_64-linux.conf @@ -1,4 +1,5 @@ -title Arch Linux (x86_64, UEFI) +title %ARCHISO_LABEL% +sort-key 01 linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux initrd /%INSTALL_DIR%/boot/intel-ucode.img initrd /%INSTALL_DIR%/boot/amd-ucode.img diff --git a/setup/linux/profile_base/efiboot/loader/entries/02-archiso-x86_64-ram-linux.conf b/setup/linux/profile_base/efiboot/loader/entries/02-archiso-x86_64-ram-linux.conf index 7a26cbab..b721e2cc 100644 --- a/setup/linux/profile_base/efiboot/loader/entries/02-archiso-x86_64-ram-linux.conf +++ b/setup/linux/profile_base/efiboot/loader/entries/02-archiso-x86_64-ram-linux.conf @@ -1,4 +1,5 @@ -title Arch Linux (x86_64, UEFI) Copy to RAM +title %ARCHISO_LABEL% (Copy to RAM) +sort-key 02 linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux initrd /%INSTALL_DIR%/boot/intel-ucode.img initrd /%INSTALL_DIR%/boot/amd-ucode.img diff --git a/setup/linux/profile_base/profiledef.sh b/setup/linux/profile_base/profiledef.sh index 2047e0ee..3a4e1386 100644 --- a/setup/linux/profile_base/profiledef.sh +++ b/setup/linux/profile_base/profiledef.sh @@ -8,12 +8,13 @@ iso_application="KIT_NAME_FULL Linux Environment" iso_version="$(date +%Y-%m-%d)" install_dir="arch" buildmodes=('iso') -bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito') +bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito') arch="x86_64" pacman_conf="pacman.conf" airootfs_image_type="squashfs" airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M') file_permissions=( + ["/root"]="0:0:750" ["/etc/shadow"]="0:0:400" ["/etc/gshadow"]="0:0:400" ["/etc/skel/.ssh"]="0:0:700"