Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829126 - sys-kernel/genkernel: concatenate all file modification operations in one final command
Summary: sys-kernel/genkernel: concatenate all file modification operations in one fin...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-13 23:09 UTC by Bogdan
Modified: 2021-12-30 21:26 UTC (History)
2 users (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 Bogdan 2021-12-13 23:09:34 UTC
I have troubles with update system with <genkernel all> command.
Details: lvm compilation fails.

Genkernel standard steps:
1) build kernel;
2) copy kernel into /boot dir;
3) build kernel modules;
4) copy modules into /lib/modules/<kernel_version> dir;
5) build initramfs;
6) copy initramfs file into /boot dir.

I have an error at step 5, where kernel and modules already builded and copied into worked system, but initramfs file still be previous version.

At now, I have worked system with old initramfs. But system is inconsistent.

Reproducible: Always

Actual Results:  
Part of final files are installed into system, but another part still not.

Expected Results:  
All modification of the file system that affects the process of starting the system must only be run after everything is successfully built.

E. g. kernel+modules+initramfs files must be copied from TMPDIR into live system only if all compilation finished successfully.