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 AD7C11391DB for ; Sat, 22 Mar 2014 17:04:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37DD1E0CB0; Sat, 22 Mar 2014 17:03:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6B9C3E0CA4 for ; Sat, 22 Mar 2014 17:03:49 +0000 (UTC) Received: from big_daddy.dol-sen.ca (S010600222de111ff.vc.shawcable.net [96.49.5.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 8BB4133FD3E for ; Sat, 22 Mar 2014 17:03:48 +0000 (UTC) From: Brian Dolbec To: gentoo-catalyst@lists.gentoo.org Subject: [gentoo-catalyst] [PATCH 11/17] Use the system's iplboot to be sure it matches palo's version. Date: Sat, 22 Mar 2014 10:03:09 -0700 Message-Id: <1395507795-13754-12-git-send-email-dolsen@gentoo.org> X-Mailer: git-send-email 1.8.5.3 In-Reply-To: <1395507795-13754-1-git-send-email-dolsen@gentoo.org> References: <1395507795-13754-1-git-send-email-dolsen@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: 02312924-4900-4a41-898e-c95384151379 X-Archives-Hash: 9b948da61be4a8bef6ddaede41c64149 From: Guy Martin 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 a9c9e53..f3e0e62 100644 --- 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.5.3