Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 829126

Summary: sys-kernel/genkernel: concatenate all file modification operations in one final command
Product: Gentoo Linux Reporter: Bogdan <bogdan.pylypenko107>
Component: Current packagesAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: UNCONFIRMED ---    
Severity: normal CC: gentoo, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.