diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2012-01-10 21:01:06 +0100 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2012-01-10 21:54:58 +0100 |
commit | 58209e8bd8b7c159c64405cde9e127de54af293f (patch) | |
tree | 48061a6c941d86019732329bf10418309d4c740d /VERSION | |
parent | 7f9cfe3551aa8ae4dd10299f125ba6e7ba518f17 (diff) | |
download | vyos-live-build-58209e8bd8b7c159c64405cde9e127de54af293f.tar.gz vyos-live-build-58209e8bd8b7c159c64405cde9e127de54af293f.zip |
Use a two-stage mount again for mounting config inside chroot in lb_chroot_hooks.
This reverts part of cacf9b6e34 (but also adds a "bind" option to the
remount command, as documented in mount(8)).
Apparently, doing "mount -o bind,ro" doesn't work. It outputs:
mount: warning: chroot/root/config seems to be mounted read-write.
and mounts read-write instead of read-only. This behaviour is
documented in mount(8). Newer kernels do seem to allow
combining bind with the read-only option (see mount(2)), but this does
not seem to work (possibly because mount is trying to be smart).
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions