Skip to content
Snippets Groups Projects
Commit 446f74ec authored by OSAK Buildhauer's avatar OSAK Buildhauer
Browse files

assemble_image.sh: use grub 2.02 from old image instead of broken grub 2.04

parent 84750624
No related branches found
No related tags found
No related merge requests found
...@@ -4,8 +4,9 @@ set -e ...@@ -4,8 +4,9 @@ set -e
set -x set -x
image_size="7G" image_size="7G"
kubuntu="kubuntu-eoan-desktop-amd64.daily_2019-09-17.iso" kubuntu="kubuntu-19.10-beta-desktop-amd64.iso"
xubuntu="xubuntu-eoan-desktop-amd64.daily_2019-09-17.iso" xubuntu="xubuntu-19.10-beta-desktop-amd64.iso"
old_buntu="xubuntu-18.04.3-desktop-amd64.iso"
workspace="/workspace" workspace="/workspace"
# mtools, ddrescure, fdisk, grub, 7z # mtools, ddrescure, fdisk, grub, 7z
...@@ -18,8 +19,8 @@ rsync -av /usr/share/grub/themes "$workspace/part_files"/grub ...@@ -18,8 +19,8 @@ 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 "$kubuntu" -o"$workspace/part_files" EFI/ 7z x "$old_buntu" -o"$workspace/part_files" EFI/
7z x "$kubuntu" -o"$workspace/part_files" boot/grub/x86_64-efi 7z x "$old_buntu" -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment