~ubuntu-on-ec2/live-build/cloud-images

« back to all changes in this revision

Viewing changes to scripts/build/lb_chroot_devpts

  • Committer: Ben Howard
  • Date: 2014-03-31 23:07:45 UTC
  • mfrom: (1873.1.1 cloud-images)
  • Revision ID: ben.howard@canonical.com-20140331230745-0qe08186ylyg1pkr
Mount dev to work with Trusty PPC64EL images

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
                # Creating lock file
44
44
                Create_lockfile .lock
45
45
 
 
46
                ${LB_ROOT_COMMAND} mount devtmpfs -t devtmpfs chroot/dev
 
47
 
46
48
                if [ "${LB_USE_FAKEROOT}" != "true" ]
47
49
                then
48
50
                        # Creating mountpoint
76
78
                        fi
77
79
                fi
78
80
 
 
81
                ${LB_ROOT_COMMAND} umount chroot/dev || true
 
82
 
79
83
                # Removing stage file
80
84
                rm -f .stage/chroot_devpts
81
85
                ;;