summaryrefslogtreecommitdiff
path: root/hurd/running/chroot.mdwn
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-09-04 18:09:15 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-09-04 18:09:15 +0200
commit4ca8da2cf6b6048351ef44cda9a098d5c29a5b25 (patch)
tree5027c15041484660d0d8dd17b192ad8d1d887bad /hurd/running/chroot.mdwn
parent32e9a8ab6b914f7ca88e150178823f6799ab3b72 (diff)
more details about buildds
Diffstat (limited to 'hurd/running/chroot.mdwn')
-rw-r--r--hurd/running/chroot.mdwn20
1 files changed, 14 insertions, 6 deletions
diff --git a/hurd/running/chroot.mdwn b/hurd/running/chroot.mdwn
index 4bda626..ddba621 100644
--- a/hurd/running/chroot.mdwn
+++ b/hurd/running/chroot.mdwn
@@ -40,10 +40,18 @@ socket creation
will actually happen in the root filesystem. To make things work correctly the
programs inside the chroot need to be able to access them:
- # settrans -kp chroot/servers /hurd/firmlink /servers
- # settrans -kp chroot/dev /hurd/firmlink /dev
- # settrans chroot/tmp /hurd/firmlink /tmp
- # settrans -c chroot/var/lib/dbus /hurd/firmlink /var/lib/dbus
- # settrans -c chroot/run/dbus /hurd/firmlink /run/dbus
- # settrans -kp chroot/proc /hurd/firmlink /proc
+ # CHROOT=$PWD/chroot
+ # settrans -kp $CHROOT/servers /hurd/firmlink /servers
+ # settrans -kp $CHROOT/dev /hurd/firmlink /dev
+ # settrans $CHROOT/tmp /hurd/firmlink /tmp
+ # settrans -c $CHROOT/var/lib/dbus /hurd/firmlink /var/lib/dbus
+ # settrans -c $CHROOT/run/dbus /hurd/firmlink /run/dbus
+ # settrans -kp $CHROOT/proc /hurd/firmlink /proc
# settrans -c $CHROOT/$HOME/.dbus /hurd/firmlink /$HOME/.dbus
+
+# Buildds
+
+Debian build daemons use a specialized script instead of debootstrap:
+
+ # mkdir ~/chroots
+ # /usr/share/sbuild/create-chroot sid