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 99670138330 for ; Wed, 5 Oct 2016 21:29:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7FD2E08B2; Wed, 5 Oct 2016 21:29:27 +0000 (UTC) Received: from mx141.netapp.com (mx141.netapp.com [216.240.21.12]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 668CEE08B2 for ; Wed, 5 Oct 2016 21:29:26 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.31,302,1473145200"; d="scan'208,217,223";a="152805825" Received: from vmwexchts03-prd.hq.netapp.com ([10.122.105.31]) by mx141-out.netapp.com with ESMTP; 05 Oct 2016 14:29:12 -0700 Received: from VMWEXCCAS04-PRD.hq.netapp.com (10.122.105.20) by VMWEXCHTS03-PRD.hq.netapp.com (10.122.105.31) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 5 Oct 2016 14:29:16 -0700 Received: from NAM03-DM3-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS04-PRD.hq.netapp.com (10.122.105.20) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Wed, 5 Oct 2016 14:29:16 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=MmBHveoBmbe2hwt1h5eYE19kBsBvQ6n9NPaFJPqV9wY=; b=WiYxg9jiWTutyKE22ix1QliB+sTlg+NO75ciw0qhdLJHs35OHis8s3Ke/GFcf+NCJKUJq7F53IFkbvERm14DqM94h+H0N3/t1KvAFWvGumMpbThjT/6PgnuahAFMIFAidezIWgG/FRTWzFRBU9w9Bylm8h4N/8vMw55/iCV5VSg= Received: from CY4PR06MB2792.namprd06.prod.outlook.com (10.175.117.148) by CY4PR06MB2792.namprd06.prod.outlook.com (10.175.117.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.649.16; Wed, 5 Oct 2016 21:29:15 +0000 Received: from CY4PR06MB2792.namprd06.prod.outlook.com ([10.175.117.148]) by CY4PR06MB2792.namprd06.prod.outlook.com ([10.175.117.148]) with mapi id 15.01.0649.021; Wed, 5 Oct 2016 21:29:15 +0000 From: "Kuzminsky, Sebastian" To: "gentoo-catalyst@lists.gentoo.org" Subject: [gentoo-catalyst] genkernel-next instead of genkernel? Thread-Topic: genkernel-next instead of genkernel? Thread-Index: AQHSH0+F1mU+Ahvwa0i92OKaeSu9ug== Date: Wed, 5 Oct 2016 21:29:15 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Sebastian.Kuzminsky@netapp.com; x-originating-ip: [208.185.168.114] x-ms-office365-filtering-correlation-id: e88328d2-423d-4402-4f5a-08d3ed66a849 x-microsoft-exchange-diagnostics: 1;CY4PR06MB2792;7:VNWnDKYUmUtUrkHPRw1/0Cdd6r2KLlcbk/SWk9Lh6wwBPQTTmCzXgHZadhl2L/ZXS63AVHlsDZ/vStOD54Bp2zAlJSc//GOaln8SwnMCG9S+IGe5px3x7UC4XPgStzEK4kzKWNKJy4aDozbeL5jFsNSX1MOLdDhZ96hVjzzL83CDNI42JZbodYcuKtzcGauyod8wQa7HGU+xU2tQZjsEhD0uIf+zcyqcmnkMihcleD4LcQVbUG9D5hQRtMDdFnusVpYutgVLNSRWY+ScG7gjr6YzbzsRywoe/hzAQoDZ+oDAOW0SgfcCrTR6ub/bisUcv7T9mgkJ1CtscmCEn6N1ag== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY4PR06MB2792; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(102415321)(6040176)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6042046)(6043046);SRVR:CY4PR06MB2792;BCL:0;PCL:0;RULEID:;SRVR:CY4PR06MB2792; x-forefront-prvs: 008663486A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(199003)(189002)(5890100001)(450100001)(77096005)(97736004)(5660300001)(7846002)(189998001)(81156014)(110136003)(8676002)(74316002)(2906002)(2501003)(7736002)(81166006)(3280700002)(99936001)(107886002)(50986999)(101416001)(3660700001)(10400500002)(11100500001)(6606003)(86362001)(7696004)(92566002)(54356999)(586003)(5002640100001)(33656002)(122556002)(105586002)(106356001)(76576001)(106116001)(99286002)(19625215002)(8936002)(6916009)(3480700004)(16236675004)(3846002)(229853001)(19627405001)(6116002)(2900100001)(87936001)(68736007)(9686002)(2351001)(102836003)(66066001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR06MB2792;H:CY4PR06MB2792.namprd06.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: netapp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/mixed; boundary="_005_CY4PR06MB27928FA96113A74A74672CB89EC40CY4PR06MB2792namp_" 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 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Oct 2016 21:29:15.1843 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR06MB2792 X-OriginatorOrg: netapp.com X-Archives-Salt: 5a336ebe-0c0c-4c28-8b39-b9538ddfdc1e X-Archives-Hash: 717a4a8b50ef16d739ff18f44d77672c --_005_CY4PR06MB27928FA96113A74A74672CB89EC40CY4PR06MB2792namp_ Content-Type: multipart/alternative; boundary="_000_CY4PR06MB27928FA96113A74A74672CB89EC40CY4PR06MB2792namp_" --_000_CY4PR06MB27928FA96113A74A74672CB89EC40CY4PR06MB2792namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello catalysts, I need to build a systemd-based stage4 with a kernel. I think this means I need to provide a binary kernel package "out of band" = as suggested in the catalyst HOWTO, or switch catalyst to use genkernel-nex= t. I prefer to teach catalyst to use genkernel-next, because it simplifies my = build system to have catalyst do everything. Iit was pretty easy to get th= is going. I'm attaching my tiny patches (against the 2.X branch) as a star= ting place. These patches switch catalyst entirely away from genkernel and= to genkernel-next, which does what I need but is a little heavy handed... If this looks like a useful approach i'll be happy to try to integrate thes= e changes more cleanly, perhaps by letting the user select (in the catalyst= -spec) between genkernel and -next. Feedback is welcome. -- Sebastian Kuzminsky --_000_CY4PR06MB27928FA96113A74A74672CB89EC40CY4PR06MB2792namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello catalysts, I need to build a systemd-based stage4 with a kern= el.


I think this means I need to provide a binary kernel package "= out of band" as suggested in the catalyst HOWTO, or switch catalyst to= use genkernel-next.


I prefer to teach catalyst to use genkernel-next, because it simplifies = my build system to have catalyst do everything.  Iit was pretty easy to get this going.  I'm= attaching my tiny patches (against the 2.X branch) as a starting place.  These patches switch catalyst entirely away from genkern= el and to genkernel-next, which does what I need but is a little = heavy handed...


If this looks like a useful approach i'= ll be happy to try to integrate these changes more cleanly, perhaps by lett= ing the user select (in the catalyst-spec) between genkernel and -next.


Feedback is welcome.



-- 
Sebastian Kuzminsky
--_000_CY4PR06MB27928FA96113A74A74672CB89EC40CY4PR06MB2792namp_-- --_005_CY4PR06MB27928FA96113A74A74672CB89EC40CY4PR06MB2792namp_ Content-Type: text/x-patch; name="0002-accept-any-version-of-genkernel.patch" Content-Description: 0002-accept-any-version-of-genkernel.patch Content-Disposition: attachment; filename="0002-accept-any-version-of-genkernel.patch"; size=1015; creation-date="Wed, 05 Oct 2016 21:27:22 GMT"; modification-date="Wed, 05 Oct 2016 21:27:22 GMT" Content-Transfer-Encoding: base64 RnJvbSBlYjlkOWRiYWUzNThjZjRlY2U2ZjhmMzVmZDcyNzdlM2NkMWQzOWU0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTZWJhc3RpYW4gS3V6bWluc2t5IDxzZWJAaGlnaGxhYi5jb20+ CkRhdGU6IFRodSwgMjkgU2VwIDIwMTYgMTY6MDY6MDAgLTA2MDAKU3ViamVjdDogW1BBVENIIDIv Ml0gYWNjZXB0IGFueSB2ZXJzaW9uIG9mIGdlbmtlcm5lbAoKLS0tCiB0YXJnZXRzL3N1cHBvcnQv Y2hyb290LWZ1bmN0aW9ucy5zaCB8IDcgKysrKy0tLQogMSBmaWxlIGNoYW5nZWQsIDQgaW5zZXJ0 aW9ucygrKSwgMyBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS90YXJnZXRzL3N1cHBvcnQvY2hy b290LWZ1bmN0aW9ucy5zaCBiL3RhcmdldHMvc3VwcG9ydC9jaHJvb3QtZnVuY3Rpb25zLnNoCmlu ZGV4IDY3ODc0YTAuLjM4ZjZlNjEgMTAwNzU1Ci0tLSBhL3RhcmdldHMvc3VwcG9ydC9jaHJvb3Qt ZnVuY3Rpb25zLnNoCisrKyBiL3RhcmdldHMvc3VwcG9ydC9jaHJvb3QtZnVuY3Rpb25zLnNoCkBA IC0yOSw5ICsyOSwxMCBAQCBjaGVja19nZW5rZXJuZWxfdmVyc2lvbigpewogCQl0aGVuCiAJCQll Y2hvICJHZW5rZXJuZWwgdmVyc2lvbiAke2dlbmtlcm5lbF92ZXJzaW9ufSBmb3VuZCAuLi4gY29u dGludWluZyIKIAkJZWxzZQotCQkJZWNobyAiRVJST1I6IFlvdXIgZ2Vua2VybmVsIHZlcnNpb24g aXMgdG9vIGxvdyBpbiB5b3VyIHNlZWQgc3RhZ2UuICBnZW5rZXJuZWwgdmVyc2lvbiAzLjMuMCIK LQkJCWVjaG8gIm9yIGdyZWF0ZXIgaXMgcmVxdWlyZWQuIgotCQkJZXhpdCAxCisJCQllY2hvICJF UlJPUjogWW91ciBnZW5rZXJuZWwgdmVyc2lvbiAke2dlbmtlcm5lbF92ZXJzaW9ufSBpcyB0b28g bG93IGluIHlvdXIgc2VlZCIKKwkJCWVjaG8gInN0YWdlLiAgZ2Vua2VybmVsIHZlcnNpb24gMy4z LjAgb3IgZ3JlYXRlciBpcyByZXF1aXJlZC4iCisJCQllY2hvICJjb250aW51aW5nIGFueXdheSIK KwkJCSNleGl0IDEKIAkJZmkKIAllbHNlCiAJCWV4aXQgMQotLSAKMi43LjMKCg== --_005_CY4PR06MB27928FA96113A74A74672CB89EC40CY4PR06MB2792namp_ Content-Type: text/x-patch; name="0001-emerge-genkernel-next-instead-of-genkernel.patch" Content-Description: 0001-emerge-genkernel-next-instead-of-genkernel.patch Content-Disposition: attachment; filename="0001-emerge-genkernel-next-instead-of-genkernel.patch"; size=646; creation-date="Wed, 05 Oct 2016 21:27:22 GMT"; modification-date="Wed, 05 Oct 2016 21:27:22 GMT" Content-Transfer-Encoding: base64 RnJvbSAyNDM2NmNjM2NhMDZhM2EwMDdjNTQ3Y2JmYWNkNWFhYTE3NjFlM2Y1IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTZWJhc3RpYW4gS3V6bWluc2t5IDxzZWJAaGlnaGxhYi5jb20+ CkRhdGU6IFRodSwgMjkgU2VwIDIwMTYgMTU6NDY6MzAgLTA2MDAKU3ViamVjdDogW1BBVENIIDEv Ml0gZW1lcmdlIGdlbmtlcm5lbC1uZXh0IGluc3RlYWQgb2YgZ2Vua2VybmVsCgotLS0KIHRhcmdl dHMvc3VwcG9ydC9wcmUta21lcmdlLnNoIHwgMiArLQogMSBmaWxlIGNoYW5nZWQsIDEgaW5zZXJ0 aW9uKCspLCAxIGRlbGV0aW9uKC0pCgpkaWZmIC0tZ2l0IGEvdGFyZ2V0cy9zdXBwb3J0L3ByZS1r bWVyZ2Uuc2ggYi90YXJnZXRzL3N1cHBvcnQvcHJlLWttZXJnZS5zaAppbmRleCBkZDUxYWU5Li5m Njc5ZGYwIDEwMDc1NQotLS0gYS90YXJnZXRzL3N1cHBvcnQvcHJlLWttZXJnZS5zaAorKysgYi90 YXJnZXRzL3N1cHBvcnQvcHJlLWttZXJnZS5zaApAQCAtMjksNSArMjksNSBAQCBjYXNlICR7Y2xz dF9ob3N0YXJjaH0gaW4KIAk7OwogZXNhYwogCi1ydW5fbWVyZ2UgLS1vbmVzaG90IGdlbmtlcm5l bAorcnVuX21lcmdlIC0tb25lc2hvdCBnZW5rZXJuZWwtbmV4dAogaW5zdGFsbCAtZCAvdG1wL2tl cm5jYWNoZQotLSAKMi43LjMKCg== --_005_CY4PR06MB27928FA96113A74A74672CB89EC40CY4PR06MB2792namp_--