projects
/
gruntmaster-daemon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cba0cde
)
Mount a tmpfs at /tmp in ex/makevm to appease ghc
author
Marius Gavrilescu
<marius@ieval.ro>
Sun, 25 Jan 2015 09:20:47 +0000
(11:20 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sun, 25 Jan 2015 09:20:57 +0000
(11:20 +0200)
ex/makevm
patch
|
blob
|
blame
|
history
diff --git
a/ex/makevm
b/ex/makevm
index 7da2614a0615365b5411365938f585eea34f66fd..91542781451ef2e4cc29b567558aca559b7cf703 100755
(executable)
--- a/
ex/makevm
+++ b/
ex/makevm
@@
-5,8
+5,11
@@
USER=$(getent passwd www-data | cut -f3 -d:)
rm -rf vm/ vm.squashfs
multistrap -f ex/vm.conf
ln -s vm/usr/bin/mawk vm/bin/awk
rm -rf vm/ vm.squashfs
multistrap -f ex/vm.conf
ln -s vm/usr/bin/mawk vm/bin/awk
-echo 'virtfs /mnt 9p trans=virtio,auto 0 0' > vm/etc/fstab
echo '/sbin/poweroff -f' > vm/.bash_logout
echo '/sbin/poweroff -f' > vm/.bash_logout
+cat > vm/etc/fstab <<EOF
+virtfs /mnt 9p trans=virtio,auto 0 0
+tmpfs /tmp tmpfs defaults 0 0
+EOF
cat > vm/.profile <<EOF
mount -a
stty -F /dev/ttyS1 -echo
cat > vm/.profile <<EOF
mount -a
stty -F /dev/ttyS1 -echo
This page took
0.010527 seconds
and
4
git commands to generate.