Development Team/Chroot: Difference between revisions

Mstone (talk | contribs)
Mstone (talk | contribs)
Line 65: Line 65:
Sugar wants to be able to use global state stored in both HAL and NetworkManager, both of which live on the system bus. Consequently, ''outside the chroot'', we need to
Sugar wants to be able to use global state stored in both HAL and NetworkManager, both of which live on the system bus. Consequently, ''outside the chroot'', we need to


  sudo mount --bind /var/run/dbus $CHROOT/var/run/dbus
sudo mount --bind /var/run/dbus $CHROOT/var/run/dbus


before entering the chroot. (Mock uses unshare() to enter a new mount-point namespace since this makes garbage collection of mountpoints much easier.)
before entering the chroot. (Mock uses unshare() to enter a new mount-point namespace since this makes garbage collection of mountpoints much easier.)