(note: for some reason, I didn't get Cascardo's comment and only found
it now by revisiting the bug again)

About the issue itself...

What's really needed is some way to *opt-out* of the default initrd
generation in the postinst script.

My suggestion of checking PID-1 root directory is just one example --
it's easy to implement and is used in a package that is installed
everywhere (udev).

Cascardo's suggestion to do this generation during boot would also
solve my problem, but may require an extra boot for others.

Even a "debconf" setting that allows skipping this generation would be
good -- I'll simply set this override in the chroot before installing
all packages.

But the current situation is a blocker -- I cannot install this package
when creating root-file-system in a chroot, unless I'm willing to
totally expose the host "/sys" (which I'm not).

Is there any chance to fix this? Just provide some way to skip initrd
generation.

Oron

Reply via email to