Commit 807f447c authored by Valentin Bruch's avatar Valentin Bruch
Browse files

removed "ubiquity/keep-installed" from preseed

Old keep-install command leads to installation of ALL packages during
the installation when "download updates while installing" is selected.
parent aa374fbe
......@@ -37,7 +37,8 @@ fill_grub_config_template "$img2" "$workspace/part_files/boot/grub/grub.cfg"
#./ "$workspace/part_files/archives" "$img1" $(grep '^[^#]' packages | cut -d'|' -f 2)
#./ "$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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment