Forum | Documentation | Website | Blog

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

RootStock-NG: also make sure sys is mounted


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 1a712610
Branches
Tags
No related merge requests found
......@@ -67,6 +67,10 @@ report_size () {
}
chroot_mount () {
if [ "$(mount | grep ${tempdir}/sys | awk '{print $3}')" != "${tempdir}/sys" ] ; then
sudo mount -t sysfs sysfs ${tempdir}/sys
fi
if [ "$(mount | grep ${tempdir}/proc | awk '{print $3}')" != "${tempdir}/proc" ] ; then
sudo mount -t proc proc ${tempdir}/proc
fi
......
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