~cjwatson/launchpad-buildd/snap-default-branch

« back to all changes in this revision

Viewing changes to mount-chroot

  • Committer: Adam Conrad
  • Date: 2013-10-10 15:02:24 UTC
  • Revision ID: adconrad@0c3.net-20131010150224-5myle0putd2tcstp
Mount /dev/pts with -o gid=5,mode=620 to avoid needing pt_chown.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
echo "Mounting chroot for build $BUILDID"
20
20
 
21
21
$SUDO mount -t proc none "$HOME/build-$BUILDID/chroot-autobuild/proc"
22
 
$SUDO mount -t devpts none "$HOME/build-$BUILDID/chroot-autobuild/dev/pts"
 
22
$SUDO mount -t devpts -o gid=5,mode=620 none "$HOME/build-$BUILDID/chroot-autobuild/dev/pts"
23
23
$SUDO mount -t sysfs none "$HOME/build-$BUILDID/chroot-autobuild/sys"
24
24
$SUDO mount -t tmpfs none "$HOME/build-$BUILDID/chroot-autobuild/dev/shm"
25
25
$SUDO cp /etc/hosts /etc/hostname /etc/resolv.conf $HOME/build-$BUILDID/chroot-autobuild/etc/