diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-04 12:58:55 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-05-04 12:58:55 +0200 |
commit | 5bd99c07a60e6d344d34c058d170bbe90285928c (patch) | |
tree | bdf6cf298e52e6821d92c667811080ee8d9d2064 | |
parent | 5a30ed6d44b1e3373c0be32128c88774bf0aa45a (diff) |
fix install script
-rwxr-xr-x | scripts/install.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 7c93a12a3..ef9aae7e9 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -202,7 +202,7 @@ if ! T=$(mktemp -d /tmp/openadk.XXXXXXXXXX); then print -u2 Error creating temporary directory. exit 1 fi -tar -xOzf "$src" usr/share/grub-bin/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 @@ -360,12 +360,6 @@ mkdir -p boot/grub print "\tlinux /boot/kernel $linuxargs" print '}' ) >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 - [[ -e $a ]] && grubfiles[ngrubfiles++]=$a -done -cp "${grubfiles[@]}" boot/grub/ (( quiet )) || print Finishing up... cd "$TOPDIR" umount "$T" |