From 8090ee305b8759beb2afce335640db244c132455 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Wed, 26 Nov 2025 12:03:39 -0500 Subject: Some more tweaking to the installer, bake packages into the image --- archiso_config/packages.x86_64 | 5 ++++- archiso_config/pacman.conf | 1 + archiso_config/profiledef.sh | 5 ++--- installer/run.sh | 21 +++++++++++++++++---- mkrepo.sh | 9 ++++++++- readme.md | 41 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 73 insertions(+), 9 deletions(-) create mode 100644 readme.md diff --git a/archiso_config/packages.x86_64 b/archiso_config/packages.x86_64 index abda48e..b83a4c0 100644 --- a/archiso_config/packages.x86_64 +++ b/archiso_config/packages.x86_64 @@ -33,6 +33,7 @@ dosfstools e2fsprogs edk2-shell efibootmgr +entr espeakup ethtool exfat-utils @@ -101,6 +102,7 @@ nmap noto-fonts-emoji ntfs-3g nvme-cli +obs-studio open-iscsi open-vm-tools openbsd-netcat @@ -116,9 +118,10 @@ pass pass-otp pavucontrol pcsclite +pipewire +pipewire-pulse ppp pptpclient -pulseaudio pv pwgen qemu-guest-agent diff --git a/archiso_config/pacman.conf b/archiso_config/pacman.conf index 03c9a15..c65616e 100644 --- a/archiso_config/pacman.conf +++ b/archiso_config/pacman.conf @@ -11,6 +11,7 @@ # If you wish to use different paths, uncomment and update the paths. #RootDir = / #DBPath = /var/lib/pacman/ +CacheDir = /tmp/isopkgcache #CacheDir = /var/cache/pacman/pkg/ #LogFile = /var/log/pacman.log #GPGDir = /etc/pacman.d/gnupg/ diff --git a/archiso_config/profiledef.sh b/archiso_config/profiledef.sh index d627c03..aba5ff6 100644 --- a/archiso_config/profiledef.sh +++ b/archiso_config/profiledef.sh @@ -8,9 +8,8 @@ iso_application="Installer for Voussir, an arch boostrapper with snapshotting" iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)" install_dir="arch" buildmodes=('iso') -bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' - 'uefi-ia32.grub.esp' 'uefi-x64.grub.esp' - 'uefi-ia32.grub.eltorito' 'uefi-x64.grub.eltorito') +bootmodes=('bios.syslinux' + 'uefi.grub' ) arch="x86_64" pacman_conf="pacman.conf" airootfs_image_type="erofs" diff --git a/installer/run.sh b/installer/run.sh index 74e15a5..ff9ff43 100644 --- a/installer/run.sh +++ b/installer/run.sh @@ -26,7 +26,14 @@ if [ "$(id -u)" -ne 0 ] ; then fi # temporary Workaround for slow mirrors -reflector | grep rit.edu > /etc/pacman.d/mirrorlist +# reflector | grep rit.edu > /etc/pacman.d/mirrorlist + +# Our local repository should have most of our packages: +cat >> /etc/pacman.conf <