summaryrefslogtreecommitdiff
path: root/scripts/create.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-10 20:27:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-10 20:27:51 +0200
commit917fb6294ff9521dd457f4a791dec32e55c2b6fd (patch)
treeed7f56cd603199f06bb35294164f5f8ccf078078 /scripts/create.sh
parenta9de73c5927b87462dfb57b2ec372672902f6fed (diff)
parentf695493a012fb378dff455b2e2067075d3594ba1 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/create.sh')
-rwxr-xr-xscripts/create.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/create.sh b/scripts/create.sh
index e3fb7ac45..ccfa2f8eb 100755
--- a/scripts/create.sh
+++ b/scripts/create.sh
@@ -152,7 +152,7 @@ else
fi
if (( usegrub )); then
- tar -xOzf "$src" usr/share/grub-bin/core.img >"$T/core.img"
+ tar -xOzf "$src" usr/lib/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
@@ -275,7 +275,7 @@ if (( usegrub )); then
) >boot/grub/grub.cfg
set -A grubfiles
ngrubfiles=0
- for a in usr/lib/grub/*-pc/{*.mod,efiemu??.o,command.lst,moddep.lst,fs.lst,handler.lst,parttool.lst}; do
+ for a in usr/lib/grub/*-pc/{*.mod,*.lst}; do
[[ -e $a ]] && grubfiles[ngrubfiles++]=$a
done
cp "${grubfiles[@]}" boot/grub/