diff options
Diffstat (limited to 'inc/helper.inc.sh')
-rw-r--r-- | inc/helper.inc.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/inc/helper.inc.sh b/inc/helper.inc.sh new file mode 100644 index 0000000..c0780b0 --- /dev/null +++ b/inc/helper.inc.sh @@ -0,0 +1,10 @@ + +setupBindmounts() { + mount -o bind /proc $buildrootpath/proc + mount -o bind /dev $buildrootpath/dev +} + +destroyBindmounts() { + umount $buildrootpath/proc + umount $buildrootpath/dev +} |