Angelos Tzotsos wrote > On 12/21/2012 12:17 PM, Patric Hafner | geOps wrote: >> Dear Members of the OSGeo mailing list, >> >> in last days, I run the build process as described here [1] several >> times to test our install script. Unfortunately the building always >> failed due to problem with unmouting of dev and proc-filesystem for >> chroot. After some small changes, I was able to fix this issue. >> Do someone else also experienced those problems? >> >> For me it is not obvious why it is necessary to bind the whole /dev into >> the chroot - /dev/pts should do it. Secondly, it seems more safe to me, >> to execute the mount of /proc outside the chroot. >> After performing the following changes, building runs always fine in my >> environment. >> >> *build_chroot_debug.sh* >> >> -- sudo mount --bind /dev/ edit/dev >> ++ sudo mount -t proc -o bind /proc edit/proc >> ++ sudo mount -o bind /dev/pts edit/dev/pts >> ... >> -- sudo umount edit/dev >> ++ sudo umount edit/dev/pts >> ++ sudo umount edit/proc >> >> *inchroot_debug.sh* >> >> --mount -t proc none /proc >> --mount -t sysfs none /sys >> --mount -t devpts none /dev/pts >> ... >> -- umount /proc || umount -lf /proc >> -- umount /sys >> -- umount /dev/pts >> >> Any comments or ideas ? >> >> >> [1] >> http://wiki.osgeo.org/wiki/Live_GIS_Build#How_to_do_development_.2F_debugging_with_the_current_build_method >> > Hi Patric, > > Thanks for your patch, I will test it too. > The previous instructions came directly from the official Ubuntu wiki, > so we did not touch them, and it worked ok (we simply had to reboot the > build VM after a successful build process). > > Best, > Angelos > > -- > Angelos Tzotsos > Remote Sensing Laboratory > National Technical University of Athens > http://users.ntua.gr/tzotsos > > _______________________________________________ > Live-demo mailing list
> [email protected] > http://lists.osgeo.org/mailman/listinfo/live-demo > http://live.osgeo.org > http://wiki.osgeo.org/wiki/Live_GIS_Disc I can verify that Patric's suggestion works. Successfully creates a build, and also leaves the VM in a usable state. -- Micha -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Build-Process-Filesystems-tp5024288p5025436.html Sent from the OSGeo FOSS4G LiveDVD mailing list archive at Nabble.com. _______________________________________________ Live-demo mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/live-demo http://live.osgeo.org http://wiki.osgeo.org/wiki/Live_GIS_Disc
