Gentoo Archives: gentoo-catalyst

From: Guy Martin <gmsoft@g.o>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] [PATCH 10/11] Use the system's iplboot to be sure it matches palo's version.
Date: Wed, 05 Feb 2014 10:41:06
Message-Id: 1391596806-14955-11-git-send-email-gmsoft@gentoo.org
In Reply to: [gentoo-catalyst] [PATCH 00/11] Livecd updates for catalyst 3.0 by Guy Martin
1 For hppa, cdtar is a bad idea because the iplboot version in the tar file
2 might not match palo's version.
3
4 ---
5 targets/support/bootloader-setup.sh | 5 +++++
6 1 file changed, 5 insertions(+)
7
8 diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh
9 index c56cc90..1a8157b 100755
10 --- a/targets/support/bootloader-setup.sh
11 +++ b/targets/support/bootloader-setup.sh
12 @@ -41,6 +41,8 @@ case ${clst_hostarch} in
13 ;;
14 hppa)
15 # NO SOFTLEVEL SUPPORT YET
16 + mkdir -p $1/boot
17 +
18 icfg=$1/boot/palo.conf
19 kmsg=$1/boot/kernels.msg
20 hmsg=$1/boot/help.msg
21 @@ -54,6 +56,9 @@ case ${clst_hostarch} in
22 my_kopts="${my_kopts} ${kopts}"
23 done
24
25 + # copy the bootloader for the final image
26 + cp /usr/share/palo/iplboot $1/boot/
27 +
28 echo "--commandline=0/${boot_kernel_common_name} initrd=${first}.igz ${default_append_line} ${my_kopts}" >> ${icfg}
29 echo "--bootloader=boot/iplboot" >> ${icfg}
30 echo "--ramdisk=boot/${first}.igz" >> ${icfg}
31 --
32 1.8.3.2