Commit 993190b8 authored by Julian Rother's avatar Julian Rother
Browse files

Removed iso remastering and other unused code

parent 2150bd41
......@@ -10,9 +10,6 @@ workspace="/workspace/"
rm -rf "$workspace/part_files"
mkdir -p "$workspace/part_files"
git -C "$workspace/part_files" clone -b tardis .
#rsync -av /usr/lib/grub/x86_64-efi part_files/grub
#mkdir -p part_files/efi/ubuntu
#rsync -av /usr/lib/grub/x86_64-efi part_files/efi/ubuntu
rsync -av /usr/lib/grub/i386-efi "$workspace/part_files"/grub
rsync -av /usr/lib/grub/i386-pc "$workspace/part_files"/grub
rsync -av /usr/share/grub/themes "$workspace/part_files"/grub
......@@ -25,23 +22,7 @@ rsync -av /usr/share/grub/unicode.pf2 "$workspace/part_files"/grub/fonts/
mv "$workspace/part_files"/grub/* "$workspace/part_files"/boot/grub/
rm -rf "$workspace/part_files"/grub
#wget -O part_files/gparted-live-i686.iso
#wget -O part_files/gparted-live-i686.iso
#ln "$iso_file" part_files/kubuntu.iso
# cdrtools
rm -rf "$workspace/iso_files"
mkdir -p "$workspace/iso_files"
7z x "$iso_file" -o"$workspace/iso_files"
echo 'd-i preseed/early_command string echo TARDIS > /dev/kmsg' >> "$workspace/iso_files/preseed/ubuntu.seed"
echo 'd-i preseed/early_command string touch /TARDIS' >> "$workspace/iso_files/preseed/ubuntu.seed"
echo 'd-i debian-installer/language string en' >> "$workspace/iso_files/preseed/ubuntu.seed"
echo 'd-i debian-installer/country string NL' >> "$workspace/iso_files/preseed/ubuntu.seed"
echo 'd-i keyboard-configuration/xkb-keymap select us' >> "$workspace/iso_files/preseed/ubuntu.seed"
cp "$workspace/iso_files/preseed/ubuntu.seed" "$workspace/iso_files/preseed/kubuntu.seed"
mkisofs -J -r -o "$workspace/part_files"/kubuntu.iso -l "$workspace/iso_files"
#echo "d-i preseed/early_command string touch /TARDIS" > preseed.cfg
cp "$iso_file" "$workspace/part_files/kubuntu.iso"
rm "$workspace/part.img"
truncate -s "$image_size" "$workspace/part.img"
Supports Markdown
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