summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-18 22:42:30 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-18 22:42:30 -0500
commit9c34632dc97bba7b6ba05ca32bf00c32b7221911 (patch)
tree19ff62f5397491a6548091f40168048528da0850
parent93499086c1293c07433d5e86e7423e21f1415e17 (diff)
downloadhorizon-9c34632dc97bba7b6ba05ca32bf00c32b7221911.tar.gz
horizon-9c34632dc97bba7b6ba05ca32bf00c32b7221911.tar.bz2
horizon-9c34632dc97bba7b6ba05ca32bf00c32b7221911.tar.xz
horizon-9c34632dc97bba7b6ba05ca32bf00c32b7221911.zip
image: ISO: Fix 64-bit PowerPC GRUB config file
We can rely on $root being the default path, and not doing so breaks Petitboot on PS3 and OPAL systems (Power8/9). Fixes: #347
-rwxr-xr-ximage/iso-share/post-ppc64.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/image/iso-share/post-ppc64.sh b/image/iso-share/post-ppc64.sh
index 7c6e76f..bf3e7b9 100755
--- a/image/iso-share/post-ppc64.sh
+++ b/image/iso-share/post-ppc64.sh
@@ -26,8 +26,8 @@ menuentry "Adelie Linux Live (PowerPC 64-bit)" --class linux --id adelie-live-cd
insmod iso9660
insmod linux
search --label "Adelie-ppc64" --hint cd,apple2 --no-floppy --set
- linux ($root)/kernel-ppc64 root=live:LABEL=Adelie-ppc64 rd.live.dir=/ rd.live.squashimg=ppc64.squashfs
- initrd ($root)/initrd-ppc64
+ linux /kernel-ppc64 root=live:LABEL=Adelie-ppc64 rd.live.dir=/ rd.live.squashimg=ppc64.squashfs
+ initrd /initrd-ppc64
}
menuentry "Reboot and Try Again" --class reboot --id reboot {