Commit dad1215b authored by OSAK Buildhauer's avatar OSAK Buildhauer

Changed image to kubuntu

parent e8992b43
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
set -e set -e
set -x set -x
image_size="3G" image_size="5G"
iso_file="ubuntu-18.04.1-desktop-amd64.iso" kubuntu="kubuntu-18.04.1-desktop-amd64.iso"
workspace="/workspace/" workspace="/workspace/"
# mtools, ddrescure, fdisk, grub, 7z # mtools, ddrescure, fdisk, grub, 7z
...@@ -17,13 +18,14 @@ rsync -av /usr/share/grub/themes "$workspace/part_files"/grub ...@@ -17,13 +18,14 @@ rsync -av /usr/share/grub/themes "$workspace/part_files"/grub
mkdir -p "$workspace/part_files"/grub/fonts/ mkdir -p "$workspace/part_files"/grub/fonts/
rsync -av /usr/share/grub/unicode.pf2 "$workspace/part_files"/grub/fonts/ rsync -av /usr/share/grub/unicode.pf2 "$workspace/part_files"/grub/fonts/
7z x "$iso_file" -o"$workspace/part_files" EFI/ 7z x "$kubuntu" -o"$workspace/part_files" EFI/
7z x "$iso_file" -o"$workspace/part_files" boot/grub/x86_64-efi 7z x "$kubuntu" -o"$workspace/part_files" boot/grub/x86_64-efi
mv "$workspace/part_files"/grub/* "$workspace/part_files"/boot/grub/ mv "$workspace/part_files"/grub/* "$workspace/part_files"/boot/grub/
rm -rf "$workspace/part_files"/grub rm -rf "$workspace/part_files"/grub
cp "$iso_file" "$workspace/part_files/kubuntu.iso" cp "$kubuntu" "$workspace/part_files/kubuntu.iso"
cp "$xubuntu" "$workspace/part_files/xubuntu.iso"
./ "$workspace/part_files/archive" "$kubuntu" $(sed '/^#/d' packages | cut -d'|' -f 2) ./ "$workspace/part_files/archive" "$kubuntu" $(sed '/^#/d' packages | cut -d'|' -f 2)
cp packages "$workspace/part_files/packages" cp packages "$workspace/part_files/packages"
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