update-initramfs, chroots ro /boot, and debian-live (Re: d-l and /boot ro)
On Mon, Sep 03, 2007 at 03:28:00PM -0400, Justin Pryzby wrote:
> On Mon, Sep 03, 2007 at 08:57:41PM +0200, Daniel Baumann wrote:
> > maximilian attems wrote:
> > > well update-initramfs checks if there is a readable /proc/mounts,
> > > so if /proc is !mounted everything si fine.
> > that's what i stated.. but it's ugly to mount, do stuff, unmount, update
> > initramfs, mount, do stuff, and unmount again.
> > it would be, probably, better if update-initramfs could handle read-only
> > /boot.
> Unfortunately the problem is that it *does* handle ro boot, as a
> special case (and not chroot).
> Perhaps it should also test "`stat -c '%i' /boot`" = "`stat -c '%i'
> /proc/1/root/boot`" or some such other chroot indicator.
so could you reexplain what your request is, cool thanks.
i'll try to rephrase you have chroot where /proc is mounted,
where the exterior /boot is ro. thus no initramfs is generated
inside of the chroot?
why is proc mounted?
but maybe i don't get it as daniel was speaking of having to mount..