Gentoo Archives: gentoo-catalyst

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