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 E0D9D1380DC for ; Wed, 5 Feb 2014 10:40:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2143FE0B43; Wed, 5 Feb 2014 10:40:21 +0000 (UTC) Received: from venus.vo.lu (venus.vo.lu [80.90.45.96]) by pigeon.gentoo.org (Postfix) with ESMTP id AD355E0B29 for ; Wed, 5 Feb 2014 10:40:18 +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:31 +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 1WAztn-0002QU-V0 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 07/11] Make use of _kernelopts for hppa. Date: Wed, 5 Feb 2014 11:40:02 +0100 Message-Id: <1391596806-14955-8-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: f3100c27-d643-4fbb-a776-c0e48ea406e3 X-Archives-Hash: 917ff220b101eb9452d8ccc0f1fd0ea9 Since hppa only support one command line for both 32 and 64bit kernel, we merge both kernelopts in the same line. This is useful for adding extra arguments like 'panic=30' directly in the spec file. --- targets/support/bootloader-setup.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh index 857ce6f..c56cc90 100755 --- a/targets/support/bootloader-setup.sh +++ b/targets/support/bootloader-setup.sh @@ -47,7 +47,14 @@ case ${clst_hostarch} in # Make sure we strip the extension to the kernel to allow palo to choose boot_kernel_common_name=${first/%32/} boot_kernel_common_name=${boot_kernel_common_name/%64/} - echo "--commandline=0/${boot_kernel_common_name} initrd=${first}.igz root=/dev/ram0 init=/linuxrc cdroot ${cmdline_opts}" >> ${icfg} + + for x in ${clst_boot_kernel} + do + eval kopts=\$clst_boot_kernel_${x}_kernelopts + my_kopts="${my_kopts} ${kopts}" + done + + 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} for x in ${clst_boot_kernel} -- 1.8.3.2