From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 001B2138206 for ; Wed, 3 Jan 2018 13:14:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18FDEE0883; Wed, 3 Jan 2018 13:13:59 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 99667E0883 for ; Wed, 3 Jan 2018 13:13:58 +0000 (UTC) Received: from [192.168.42.64] ([213.205.242.17]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.163]) with ESMTPSA (Nemesis) id 0LyNJG-1f0mBB1fYU-015qDk for ; Wed, 03 Jan 2018 14:13:57 +0100 To: gentoo-catalyst@lists.gentoo.org From: "M. J. Everitt" Subject: [gentoo-catalyst] [PATCH]: Add verbose support for genkernel and callback emerge Message-ID: Date: Wed, 3 Jan 2018 13:13:32 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 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 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iFNiJP2SIXrTlQxA4mrUh7qIC6kRpjf1a" X-Provags-ID: V03:K0:IWs8HtRq8aN+yRnmN9TjiXcGrsd4YFegZnU5nkIMjfRLf9doqIe t2GhzfACKdkKzoJvFLg9zWYGIbdiHNfjvqEkf5u8VOx1Y7i5fMXdxlqN2DzHk7SGTSDjOcr ir7lJPGL7AvqpA7zVxW08MownSLrKdMwyh/Q+LLdUrqcItbPEK7sufA/5DhGxF0rG7isc9Z JfEEPzeFZ2jlM8EfW1ZiA== X-UI-Out-Filterresults: notjunk:1;V01:K0:kmDLVI8w6bU=:OUB3F7wfWr5e+gpNtTtGlP djIUwJQS7cb1H7hr0z1b9pBnUNv74iiUNfMHznHnaptBtEy7sshBNLy8Fg/u/PTDyosh1f7vP XH8WuufuGmaH4GRQDnnRCWcWPBUziqDQgh4xSB3vNgZVoDjeDVqsSQZ1605ZF4PDncVB+Qr9h EnXy6kiM5hKvmhZcWKw55UKJhANiHTM4bFwMPpqKxfghsbeEPnL0l9z/GKf87fMY6GL5jWNh5 PbDS26Z7uFdvVypnnLazay2YjbEFv4HNxsfARA2nZ18OsB/zjmD+Nq0KK592BvGiSwsEEwYSB XfJ4R9lsI8LrQj+aj6IdPgWzbsoUJROUkzgmFvWQshlxFCejRk7UoLTeDQFKDHo1OjBi5meKj GlfmDRux+wBmRGOqcTB6D61mBCy/Zoxlf3MMu1wfQ9giLy3mUjwfPUuDtaiJgIETj3P1ZXXCC 6QAIyqnbVJjHBvR+ZflG86EqbPfZp4Zf8Cu5OHqagU9EBGxUSR5asZKjmY+6vRMTQ/obrQBwr MahqprhOxtqKFlib/uG4lIFxR67kP0+yarVm9govh7C0zCevS8DMDz9FEJcneXUFYZsCMx2/u IvShCNU2Xart74vuAjmCWhMZjv98hiDw8+OWNuwzjfVy++FJ5Jw3zsKrWC075wRwfJGVRh7Th lVFByGIeI0cDptILo3AgKZozdNYxG1HYnYtqv/MmPg0vnprvDTWIcZxn9rOg7e5e4ffJtK29q P3YEzls8JwK/6IxNgaISkBl8R5RidXjf6ouAww== X-Archives-Salt: c7e60e2a-afa3-40a8-b0ea-8002b8ed4509 X-Archives-Hash: 0e1d739c2b33a7fe0a3cf6003a58d55a This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iFNiJP2SIXrTlQxA4mrUh7qIC6kRpjf1a Content-Type: multipart/mixed; boundary="IFCLRv5DalAVuPoK0pgcq4PnAfBPhOMFe"; protected-headers="v1" From: "M. J. Everitt" To: gentoo-catalyst@lists.gentoo.org Message-ID: Subject: [PATCH]: Add verbose support for genkernel and callback emerge --IFCLRv5DalAVuPoK0pgcq4PnAfBPhOMFe Content-Type: multipart/mixed; boundary="------------549E4D63FEA677DC4243F504" This is a multi-part message in MIME format. --------------549E4D63FEA677DC4243F504 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable As notified on IRC #gentoo-catalyst, here is my patch for propagating the 'verbose' option from catalyst through to the genkernel build and resulting emerge callback (in installcd-stage2). Tested OK this end (fixed a minor typo in genkernel parameter) ready for review. I can raise a PR, but here is the 'git format-patch' version for consideration. Best regards, Michael Everitt. --------------549E4D63FEA677DC4243F504 Content-Type: text/x-patch; name="0001-Added-verbose-support-for-genkernel-and-callback-eme.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename*0="0001-Added-verbose-support-for-genkernel-and-callback-eme.pa"; filename*1="tch" =46rom 27c8d4d2bc1df5801632a1b93be5d36984cdbdd8 Mon Sep 17 00:00:00 2001 From: "M. J. Everitt" Date: Wed, 3 Jan 2018 02:00:41 +0000 Subject: [PATCH] Added verbose support for genkernel, and callback emerge= --- targets/support/kmerge.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh index fc066cc0..9a5daabd 100755 --- a/targets/support/kmerge.sh +++ b/targets/support/kmerge.sh @@ -69,6 +69,11 @@ setup_gk_args() { GK_ARGS=3D"${GK_ARGS} --initramfs-overlay=3D\"${clst_merge_path}\"" fi fi + + if [[ "${clst_VERBOSE}" =3D=3D "true" ]] + then + GK_ARGS=3D"${GK_ARGS} --loglevel=3D2" + fi } =20 genkernel_compile(){ @@ -92,7 +97,12 @@ genkernel_compile(){ esac # Build with genkernel using the set options # callback is put here to avoid escaping issues - gk_callback_opts=3D"-qN" + if [[ "${clst_VERBOSE}" =3D=3D "true" ]] + then + gk_callback_opts=3D"-vN" + else + gk_callback_opts=3D"-qN" + fi PKGDIR=3D${PKGDIR} if [ -n "${clst_KERNCACHE}" ] then --=20 2.13.6 --------------549E4D63FEA677DC4243F504-- --IFCLRv5DalAVuPoK0pgcq4PnAfBPhOMFe-- --iFNiJP2SIXrTlQxA4mrUh7qIC6kRpjf1a Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCAAyFiEERR5DB4J2baXtk4AVu81GK0wzHTUFAlpM1wUUHG0uai5ldmVy aXR0QGllZS5vcmcACgkQu81GK0wzHTXAIA/9GAdAWuSrN7rG8MvIeRE3jlStfygP nzUXjP+n8W7C4qkZXxRtoniizeMLd2/6l2IJlEnHCGodVEDN54hb1hALYHLa3cW5 2rZYcuDVQ9BkFR3ywO2gQW1A3ZbE69yPXokIwALitV6npTfxmwdbO6r8zeC8U8J/ KYMeRagOnZd4YD9hXv44n/vSdWbnHUTmsKPc4V1n0xldqV83tF1ylgmEoex3ZKgg BnewuaC7zSpHfHY9Nv3EyKVkd9aOhsWAQmOfQzPc6rAWFaRXQWy4Xb/MuifC6biu Iq83Fou1TPTM0UXshsT2mjRjOe/IoJGwLhSpSX8zWiYwWv8IOPgYfRSWYLiWGwJY XwejOYv4IPmY34Vf8qUJpIAprpJNJIeR6uoyE+gTu+V9pqmvRpZcJcnZnfIjIjB6 w0tFRAkFEdnTBf3KwDVbxrUTXQ19TMo1EM+5DCb7eKnYJ+wQcCv5AuOWVL+EGfiw pPs3dTORX5EqJNMEEadJEfNW9TUrOsYccolydDLcqVTN/cxHpB9/cimN7muiNFkS alnRclW3RO/C3N9qwMCssvBvlrC35eIE5HsBNWRUAjCwCA/0I4I4sooYKwIEJkPr 2b2UVJ64eHTb86lP9UofJh5vDVZksggoiuGg0ieunnthpCg8hikPbgtV2/M152c3 LYGla09x7JWP+Pk= =CZZd -----END PGP SIGNATURE----- --iFNiJP2SIXrTlQxA4mrUh7qIC6kRpjf1a--