Commit f7b84f20 authored by OSAK Buildhauer's avatar OSAK Buildhauer

Add offline-repo packages to ubiquity/keep-installed

parent fa5a83cb
......@@ -34,6 +34,7 @@ fill_grub_config_template "$xubuntu" "XFCE" "$workspace/part_files/boot/grub/gru
./create_offlinerepo.sh "$workspace/part_files/archives" "$kubuntu" $(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"
rm -f "$workspace/part.img"
truncate -s "$image_size" "$workspace/part.img"
......@@ -44,3 +45,4 @@ dd if=/usr/lib/grub/i386-pc/boot.img of="$workspace/output.img" bs=446 count=1
dd if="$workspace/grub.i386-pc.img" of="$workspace/output.img" bs=512 seek=1
ddrescue --output-position=2048s --sparse "$workspace/part.img" "$workspace/output.img"
printf "label: dos\nunit: sectors\n2048,+,b,*\n" | sfdisk "$workspace/output.img"
echo "Used $(du -h "$workspace/part_files") of ${image_size}"
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