some snippets on running it inside a chroot
This commit is contained in:
parent
78dd914563
commit
c2405a4922
1 changed files with 7 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue