install stage 1, package selections: add a mechanism to download additional files

master
BodgeMaster 2023-07-15 02:23:49 +02:00
parent 1faed5f2e9
commit e530181705
5 changed files with 8 additions and 1 deletions

View File

@ -424,6 +424,12 @@ for I in ${!SECTIONS[@]}; do
for J in ${!OPTIONS[@]}; do for J in ${!OPTIONS[@]}; do
get_stage2_file "package_selections/${SECTIONS[$I]}/${OPTIONS[$J]}" get_stage2_file "package_selections/${SECTIONS[$I]}/${OPTIONS[$J]}"
done done
get_stage2_file "package_selections/${SECTIONS[$I]}/additional_files.lst"
readarray -t FILES < "$STAGE2_DIR/package_selections/${SECTIONS[$I]}/additional_files.lst"
for J in ${!FILES[@]}; do
get_stage2_file "package_selections/${SECTIONS[$I]}/${FILES[$J]}"
done
done done
mv /mnt/target/etc/sv/agetty-tty1/conf /mnt/target/etc/sv/agetty-tty1/conf.bak >> $LOGFILE 2>&1 mv /mnt/target/etc/sv/agetty-tty1/conf /mnt/target/etc/sv/agetty-tty1/conf.bak >> $LOGFILE 2>&1

View File

@ -24,7 +24,6 @@ add online check to all the selections that need internet
sort out /etc/resolv.conf for the chroot sort out /etc/resolv.conf for the chroot
set keyboard layout for initramfs set keyboard layout for initramfs
need some sort of notification handler? need some sort of notification handler?
add a way to provide additional files to package selections
replace package selections with these options: replace package selections with these options:
nvidia nvidia
keep the old selections keep the old selections

View File

@ -0,0 +1 @@
resources/common_packages

View File

@ -0,0 +1 @@
setxkbmap xauth xorg-video-drivers mesa mesa-dri xorg-server elogind xorg-input-drivers xrandr acpilight xhost xinit xrdb xinput xgamma xset iceauth sessreg transset xcmsdb xkbutils xmodmap dejavu-fonts-ttf elogind xdg-utils dbus-elogind dbus-elogind-libs dbus-elogind-x11 pipewire