diff --git a/assemble_image.sh b/assemble_image.sh index 5ab3e774136bf47aefcba3a967a697888a523065..7b236362b0eb8a97bf6d20b57791bb06480d76f8 100755 --- a/assemble_image.sh +++ b/assemble_image.sh @@ -37,7 +37,8 @@ fill_grub_config_template "$img2" "$workspace/part_files/boot/grub/grub.cfg" #./create_offlinerepo.sh "$workspace/part_files/archives" "$img1" $(grep '^[^#]' packages | cut -d'|' -f 2) #./create_offlinerepo.sh "$workspace/part_files/archives" "$img2" $(grep '^[^#]' packages | cut -d'|' -f 2) cp packages "$workspace/part_files/packages" -echo "ubiquity ubiquity/keep-installed string $(grep '^[^#]' packages | cut -d'|' -f 2 | tr '\n' ' ')" >> "$workspace/part_files/preseed/lip.seed" +# The following command is dangerous: If offline repo is missing and "download updates while installing" is selected (default), this will install ALL listed packages during the installation. +#echo "ubiquity ubiquity/keep-installed string $(grep '^[^#]' packages | cut -d'|' -f 2 | tr '\n' ' ')" >> "$workspace/part_files/preseed/lip.seed" rm -f "$workspace/part.img" truncate -s "$image_size" "$workspace/part.img"