From 5bd99c07a60e6d344d34c058d170bbe90285928c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 4 May 2014 12:58:55 +0200 Subject: fix install script --- scripts/install.sh | 8 +------- 1 file changed, 1 insertion(+), 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" -- cgit v1.2.3