summaryrefslogtreecommitdiffstats
path: root/inc/chroot-functions.inc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'inc/chroot-functions.inc.sh')
-rw-r--r--inc/chroot-functions.inc.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/chroot-functions.inc.sh b/inc/chroot-functions.inc.sh
index 5693a54..35f2589 100644
--- a/inc/chroot-functions.inc.sh
+++ b/inc/chroot-functions.inc.sh
@@ -1,4 +1,5 @@
chroot-exec () {
+ export HOME="/root"
if [ $(mount |grep -c $BROOT_BUILDROOT_PATH/dev) -eq 0 ]; then
setupBindmounts
fi
@@ -6,6 +7,7 @@ chroot-exec () {
}
chroot-aptinstall () {
+ export HOME="/root"
if [ $(mount |grep -c $BROOT_BUILDROOT_PATH/dev) -eq 0 ]; then
setupBindmounts
fi