summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2013-02-10 23:21:02 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2013-02-10 23:21:02 +0100
commit506817b8e681f68951a652b99812146255eaa9c9 (patch)
treeac99a66e20dac44632d2031734dc22f54e976731
parent3f6c8c23bd25c0508532a33bbdfd77276334c8d0 (diff)
downloadkanotix-506817b8e681f68951a652b99812146255eaa9c9.zip
kanotix-506817b8e681f68951a652b99812146255eaa9c9.tar.gz
grub2 EFI prefix fix, kernel 3.8.0-4
-rwxr-xr-xauto/config4
-rwxr-xr-xconfig/binary_local-hooks/grub2-efi2
2 files changed, 3 insertions, 3 deletions
diff --git a/auto/config b/auto/config
index a778546..c307036 100755
--- a/auto/config
+++ b/auto/config
@@ -59,8 +59,8 @@ squeeze)
wheezy)
LB_REPOSITORIES+=" dragonfire"
case $LB_ARCHITECTURE in
- amd64) LB_LINUX_PACKAGES="linux-image-extra-3.5.0-17 linux-headers-3.5.0-17"; LB_LINUX_FLAVOURS="generic";;
- i386) LB_LINUX_PACKAGES="linux-image-extra-3.5.0-17 linux-headers-3.5.0-17"; LB_LINUX_FLAVOURS="generic";;
+ amd64) LB_LINUX_PACKAGES="linux-image-extra-3.8.0-4 linux-headers-3.8.0-4"; LB_LINUX_FLAVOURS="generic";;
+ i386) LB_LINUX_PACKAGES="linux-image-extra-3.8.0-4 linux-headers-3.8.0-4"; LB_LINUX_FLAVOURS="generic";;
esac
;;
esac
diff --git a/config/binary_local-hooks/grub2-efi b/config/binary_local-hooks/grub2-efi
index 6043206..5ed694a 100755
--- a/config/binary_local-hooks/grub2-efi
+++ b/config/binary_local-hooks/grub2-efi
@@ -37,7 +37,7 @@ mkdir -p "$workdir/boot/grub"
cat >"$workdir/boot/grub/grub.cfg" <<EOF
search --file --set=root /.disk/info
set prefix=(\$root)/boot/grub
-source \$prefix/grub.cfg
+source \$prefix/$platform/grub.cfg
EOF
mkdir -p "binary/boot/grub/$platform"