diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-04-09 15:00:33 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-04-09 15:00:48 -0400 |
| commit | 4ba09ab6844cc3fc3e94856da22190555b697193 (patch) | |
| tree | 05e4bede709b56c79ca36e2c942a817415b20a59 /doc | |
| parent | b61b77941f3774e6d7373bab9607b70f4acbd7e0 (diff) | |
added Propellor.Property.Bootstrap (untested)
This commit was sponsored by Jake Vosloo on Patreon.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/todo/property_to_install_propellor/comment_1_b05e9a44e5c7130d9cc928223cd82d78._comment | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/todo/property_to_install_propellor/comment_1_b05e9a44e5c7130d9cc928223cd82d78._comment b/doc/todo/property_to_install_propellor/comment_1_b05e9a44e5c7130d9cc928223cd82d78._comment new file mode 100644 index 00000000..5a826fea --- /dev/null +++ b/doc/todo/property_to_install_propellor/comment_1_b05e9a44e5c7130d9cc928223cd82d78._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2017-04-09T17:42:10Z" + content=""" +Making this work when propellor is setting up a chroot is difficult, +because the localdir is bind mounted into the chroot. + +Hmm, `unshare` could be helpful. Run shell commands to clone the localdir +inside `unshare -m`, prefixed with a `umount localdir`. This way, the bind +mount is avoided, and it writes "under" it. Limits the commands that can be +run to set up the localdir to shell commands, but bootstrap already +operates on terms of shell commands so that seems ok. + +`unshare` is linux-specific; comes in util-linux on modern linuxes. +"""]] |
