From 4ca8da2cf6b6048351ef44cda9a098d5c29a5b25 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 4 Sep 2016 18:09:15 +0200 Subject: more details about buildds --- hurd/running/chroot.mdwn | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'hurd/running/chroot.mdwn') diff --git a/hurd/running/chroot.mdwn b/hurd/running/chroot.mdwn index 4bda626f..ddba6217 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 -- cgit v1.2.3