Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 1f37840a authored by Robert Nelson's avatar Robert Nelson
Browse files

cloud9: need /dev/shm when building v0.10


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 0af73ee7
...@@ -690,6 +690,10 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__ ...@@ -690,6 +690,10 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__
#From: https://github.com/ajaxorg/cloud9/wiki/Installation-and-Usage #From: https://github.com/ajaxorg/cloud9/wiki/Installation-and-Usage
#apt-get -y -t wheezy-backports install nodejs-legacy #apt-get -y -t wheezy-backports install nodejs-legacy
#node10: needs /dev/shm when building with -jX
mount -t tmpfs shmfs -o size=256M /dev/shm
df -Th
#node10 #node10
mkdir -p /opt/node-src/ || true mkdir -p /opt/node-src/ || true
cd /opt/node-src cd /opt/node-src
...@@ -734,6 +738,9 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__ ...@@ -734,6 +738,9 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__
qemu_warning qemu_warning
git clone https://github.com/beagleboard/bonescript /var/lib/cloud9 --depth 1 || true git clone https://github.com/beagleboard/bonescript /var/lib/cloud9 --depth 1 || true
chown -R ${user_name}:${user_name} /var/lib/cloud9 chown -R ${user_name}:${user_name} /var/lib/cloud9
sync
umount -l /dev/shm
fi fi
else else
dpkg_package_missing dpkg_package_missing
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment