summaryrefslogtreecommitdiff
path: root/scripts/create.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-11 18:45:38 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-11 18:45:38 +0200
commit277e6a5f99c96b7c718a96b913148a990334f332 (patch)
treecb8022548d06a80bca0b43a5a9a0693d1fc3ea5a /scripts/create.sh
parent917fb6294ff9521dd457f4a791dec32e55c2b6fd (diff)
fix boot with grub2 source package
Diffstat (limited to 'scripts/create.sh')
-rwxr-xr-xscripts/create.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/scripts/create.sh b/scripts/create.sh
index ccfa2f8eb..79401fda9 100755
--- a/scripts/create.sh
+++ b/scripts/create.sh
@@ -152,7 +152,7 @@ else
fi
if (( usegrub )); then
- tar -xOzf "$src" usr/lib/grub/core.img >"$T/core.img"
+ tar -xOzf "$src" boot/grub/core.img >"$T/core.img"
integer coreimgsz=$($statcmd "$T/core.img")
if (( coreimgsz < 1024 )); then
print -u2 core.img is probably too small: $coreimgsz
@@ -273,12 +273,6 @@ if (( usegrub )); then
print "\tlinux /boot/kernel $linuxargs"
print '}'
) >boot/grub/grub.cfg
- set -A grubfiles
- ngrubfiles=0
- for a in usr/lib/grub/*-pc/{*.mod,*.lst}; do
- [[ -e $a ]] && grubfiles[ngrubfiles++]=$a
- done
- cp "${grubfiles[@]}" boot/grub/
fi
print "Creating ext2fs filesystem image..."