Changeset a114e09 in mainline for tools/grub/grub-update.sh
- Timestamp:
- 2019-04-10T15:04:17Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c7c3508
- Parents:
- 3ef901d0
- git-author:
- Petr Pavlu <setup@…> (2019-03-31 10:06:45)
- git-committer:
- Jakub Jermář <jakub@…> (2019-04-10 15:04:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/grub/grub-update.sh
r3ef901d0 ra114e09 72 72 git reset --hard "$grub_rev" || exit 1 73 73 74 echo "$grub_rev" >"$helenosdir"/boot/grub .pc/REVISION || exit 175 echo "$grub_rev" > "$helenosdir"/boot/grub .efi/REVISION || exit 174 echo "$grub_rev" >"$helenosdir"/boot/grub/ia32-pc/REVISION || exit 1 75 echo "$grub_rev" > "$helenosdir"/boot/grub/ia32-efi/REVISION || exit 1 76 76 77 77 # Build each platform to a different directory … … 82 82 83 83 # Extract El Torrito boot image for i386-pc 84 cd "$helenosdir"/boot/grub .pc || exit 184 cd "$helenosdir"/boot/grub/ia32-pc || exit 1 85 85 rm -f pc.img || exit 1 86 86 "$builddir"/i386-pc/bin/grub-mkrescue -o phony --xorriso="$origdir/getimage.sh" || exit 1 87 87 88 88 # Extract El Torrito boot image for i386-efi 89 cd "$helenosdir"/boot/grub .efi || exit 189 cd "$helenosdir"/boot/grub/ia32-efi || exit 1 90 90 rm -f efi.img.gz || exit 1 91 91 "$builddir"/i386-efi/bin/grub-mkrescue -o phony --xorriso="$origdir/getimage.sh" || exit 1 … … 93 93 94 94 # Extract El Torrito boot image for x86_64-efi 95 cd "$helenosdir"/boot/grub .efi || exit 195 cd "$helenosdir"/boot/grub/ia32-efi || exit 1 96 96 rm -f efi.img.gz || exit 1 97 97 "$builddir"/x86_64-efi/bin/grub-mkrescue -o phony --xorriso="$origdir/getimage.sh" || exit 1 … … 106 106 107 107 # Update Grub files for all platforms 108 grub_files_update grub .pc i386-pc109 grub_files_update grub .efi i386-efi110 grub_files_update grub .efi x86_64-efi108 grub_files_update grub/ia32-pc i386-pc 109 grub_files_update grub/ia32-efi i386-efi 110 grub_files_update grub/ia32-efi x86_64-efi 111 111 112 112 echo "GRUB update successful."
Note:
See TracChangeset
for help on using the changeset viewer.