Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
TARDIS
Commits
993190b8
Commit
993190b8
authored
Dec 17, 2018
by
Julian Rother
Browse files
Removed iso remastering and other unused code
parent
2150bd41
Changes
1
Hide whitespace changes
Inline
Side-by-side
assemble_image.sh
View file @
993190b8
...
...
@@ -10,9 +10,6 @@ workspace="/workspace/"
rm
-rf
"
$workspace
/part_files"
mkdir
-p
"
$workspace
/part_files"
git
-C
"
$workspace
/part_files"
clone
-b
tardis https://git.fsmpi.rwth-aachen.de/osak/lipstick.git
.
#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 https://sourceforge.net/projects/gparted/files/gparted-live-stable/0.28.1-1/gparted-live-i686.iso
#wget -O part_files/gparted-live-i686.iso https://sourceforge.net/projects/gparted/files/gparted-live-stable/0.28.1-1/gparted-live-x86_64.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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment