[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with live-update-initramfs



Hello!

First, thank you for Debian Live...  It really is a game changer for some applications.

Here is the problem:   There seems to be an issue with the "live-update-initramfs" script.  

The script will not operate if it detects that it is running from a read-only live system image.  The detection is performed using "/proc/cmdline".

Moreover, the same script is used when building a live system image (lb build), from within the chroot environment.

Therefore it becomes impossible to build a Live system from within a Live system.  This used to work, and there is no reason why it should not.

State detection from the "/proc/cmdline" while working in the chroot does not work because it mixes two environments.  I am not sure what would be the best fix for this.

Moreover, since the script is part of a package which is dynamically loaded from the net at build time (lb build), it becomes quite difficult to do a quick patch locally ...

Thank you for taking the time to read this!

Real Ouellet



Reply to: