Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v2 1/4] kernel-install.eclass: Install logic for dist-kernels
Date: Tue, 07 Jan 2020 02:32:48
Message-Id: robbat2-20200105T072322-014212601Z@orbis-terrarum.net
In Reply to: [gentoo-dev] [PATCH v2 1/4] kernel-install.eclass: Install logic for dist-kernels by "Michał Górny"
1 On Sun, Jan 05, 2020 at 07:27:38AM +0100, Michał Górny wrote:
2 > Introduce a new eclass that contains common logic needed to test
3 > and install distribution kernels. This is the eclass common both
4 > to kernels built from source and installed from binary packages.
5 I'm 100% in favour of the concept here, but I have some implementation
6 concerns.
7
8 For the (public) record, Infra has been wrapping genkernel to build
9 binary kernel + initramfs for internal usage for 5 years now.
10
11 Conceptually, can you clarify why you are depending on dracut here,
12 rather than using genkernel's initramfs mode?
13
14 I'm not sure you're going to get correct build output in cases like
15 x86_64 -> x86 cross-compiles.
16
17 Why not call genkernel from the ebuild instead of re-inventing the
18 wheel to compile the kernel yourself.
19
20 --
21 Robin Hugh Johnson
22 Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
23 E-Mail : robbat2@g.o
24 GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
25 GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies