From dad1215bdbb8b1343eaf1f335190bd25d1b26530 Mon Sep 17 00:00:00 2001
From: OSAK Buildhauer <osak@fsmpi.rwth-aachen.de>
Date: Tue, 22 Jan 2019 23:54:06 +0000
Subject: [PATCH] Changed image to kubuntu

---
 assemble_image.sh | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/assemble_image.sh b/assemble_image.sh
index 5e59115..d5908a4 100755
--- a/assemble_image.sh
+++ b/assemble_image.sh
@@ -3,8 +3,9 @@
 set -e
 set -x
 
-image_size="3G"
-iso_file="ubuntu-18.04.1-desktop-amd64.iso"
+image_size="5G"
+kubuntu="kubuntu-18.04.1-desktop-amd64.iso"
+xubuntu="xubuntu-18.04.1-desktop-amd64.iso"
 workspace="/workspace/"
 
 # mtools, ddrescure, fdisk, grub, 7z
@@ -17,13 +18,14 @@ rsync -av /usr/share/grub/themes "$workspace/part_files"/grub
 mkdir -p "$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 "$iso_file" -o"$workspace/part_files" boot/grub/x86_64-efi
+7z x "$kubuntu" -o"$workspace/part_files" EFI/
+7z x "$kubuntu" -o"$workspace/part_files" boot/grub/x86_64-efi
 
 mv "$workspace/part_files"/grub/* "$workspace/part_files"/boot/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"
 ./create_offlinerepo.sh "$workspace/part_files/archive" "$kubuntu" $(sed '/^#/d' packages | cut -d'|' -f 2)
 cp packages "$workspace/part_files/packages"
 
-- 
GitLab