From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E53F81380DC for ; Wed, 5 Feb 2014 10:41:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1235EE0B51; Wed, 5 Feb 2014 10:40:31 +0000 (UTC) Received: from venus.vo.lu (venus.vo.lu [80.90.45.96]) by pigeon.gentoo.org (Postfix) with ESMTP id 51E47E0B51 for ; Wed, 5 Feb 2014 10:40:25 +0000 (UTC) Received: from ibiza.lux.tuxicoman.be (vodsl-8217.vo.lu [85.93.199.25]) by venus.vo.lu with SMTP (version=TLS\Tls cipher=Aes128 bits=128); Wed, 5 Feb 2014 11:39:40 +0100 Received: from terminatrix.lux.tuxicoman.be ([172.19.0.9]) by ibiza.lux.tuxicoman.be with esmtp (Exim 4.80.1) (envelope-from ) id 1WAzto-0002QU-Eh for gentoo-catalyst@lists.gentoo.org; Wed, 05 Feb 2014 11:40:08 +0100 From: Guy Martin To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH 10/11] Use the system's iplboot to be sure it matches palo's version. Date: Wed, 5 Feb 2014 11:40:05 +0100 Message-Id: <1391596806-14955-11-git-send-email-gmsoft@gentoo.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1391596806-14955-1-git-send-email-gmsoft@gentoo.org> References: <1391596806-14955-1-git-send-email-gmsoft@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Archives-Salt: fc65b463-044f-4762-beb4-acb60aba45be X-Archives-Hash: a756077c2df0f9357e7c8001c3a89ea1 For hppa, cdtar is a bad idea because the iplboot version in the tar file might not match palo's version. --- targets/support/bootloader-setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh index c56cc90..1a8157b 100755 --- a/targets/support/bootloader-setup.sh +++ b/targets/support/bootloader-setup.sh @@ -41,6 +41,8 @@ case ${clst_hostarch} in ;; hppa) # NO SOFTLEVEL SUPPORT YET + mkdir -p $1/boot + icfg=$1/boot/palo.conf kmsg=$1/boot/kernels.msg hmsg=$1/boot/help.msg @@ -54,6 +56,9 @@ case ${clst_hostarch} in my_kopts="${my_kopts} ${kopts}" done + # copy the bootloader for the final image + cp /usr/share/palo/iplboot $1/boot/ + echo "--commandline=0/${boot_kernel_common_name} initrd=${first}.igz ${default_append_line} ${my_kopts}" >> ${icfg} echo "--bootloader=boot/iplboot" >> ${icfg} echo "--ramdisk=boot/${first}.igz" >> ${icfg} -- 1.8.3.2