some snippets on running it inside a chroot

This commit is contained in:
josch 2010-12-28 13:42:03 +01:00
parent 78dd914563
commit c2405a4922

View file

@ -9,6 +9,13 @@
# #
# use 2.5G tmpfs # use 2.5G tmpfs
# mount -t tmpfs -o size=2500M tmpfs /tmp/ramdisk # mount -t tmpfs -o size=2500M tmpfs /tmp/ramdisk
#
# you can also run the script inside a chroot to avoid having to run it as
# root on your host.
# sudo cdebootstrap --flavour=minimal sid debian-sid-chrootenv
# sudo cp pyneo-daily.sh debian-sid-chrootenv/
# sudo chroot debian-sid-chrootenv/ apt-get install [see above]
# sudo chroot debian-sid-chrootenv/ /pyneo-daily.sh
PWD="`pwd`" PWD="`pwd`"
SRC_DIR="$PWD/src" SRC_DIR="$PWD/src"