Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739440 - genkernel 4.1.0 doesn't handle multiple actions properly
Summary: genkernel 4.1.0 doesn't handle multiple actions properly
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-28 21:18 UTC by Alex Orange
Modified: 2020-09-01 01:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Orange 2020-08-28 21:18:02 UTC
With old versions of genkernel (3.5) I could do:

genkernel --kernel-config=.... bzImage initramfs

and it would build first the bzImage and then the initramfs (a kernel without modules of course).

Now with genkernel 4.1.0 when I do the same it skips bzImage and tries to build the initramfs where it gets very confused.

In short, genkernel isn't handling multiple actions.
Comment 1 Alex Orange 2020-08-28 21:19:24 UTC
Oops, didn't see where genkernel lived.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-28 21:54:13 UTC
Are you saying that this is working in genkernel-3.5.3.3?
Comment 3 Alex Orange 2020-08-31 18:56:27 UTC
Yes, I actually used it before realizing that I'd forgotten to update genkernel, updated genkernel, tried to use that command and it didn't work.
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-31 20:30:35 UTC
Could you please share use case for this? For example, you will end up with

  /boot/kernel-genkernel-x86_64-5.8.2-gentoo
  /boot/initramfs-genkernel-x86_64-5.8.2-gentoo

but

> # tree lib/modules/
> lib/modules/
> 
> 0 directories, 0 files

=> This kernel won't boot.

There isn't even any module in initramfs...
Comment 5 Alex Orange 2020-09-01 01:18:55 UTC
MODULES=n
Comment 6 Alex Orange 2020-09-01 01:20:51 UTC
Oh, and just to add, I haven't tried it with the genkernel admittedly, but the reason I never used "all" before is because that would barf with MODULES=n because it didn't check whether there were modules to build or not and just went ahead and did a "make modules" which of course would fail.
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2020-09-01 01:32:33 UTC
Please try with genkernel-4... it shouldn't fail when .config doesn't contain any modules.
Comment 8 Alex Orange 2020-09-01 01:50:43 UTC
Ok, "all" does work.