diff options
| author | Simon Rettberg | 2014-07-27 00:10:16 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2014-07-27 00:10:16 +0200 |
| commit | 62d78729a32dd136feddede21a5dc6e9c3dbe2d7 (patch) | |
| tree | dccd7c833bb33825c45922397dd84d629d25f05f /remote/includes/chroot.inc | |
| parent | [rfs-s31] fix busybox copying v2 (diff) | |
| download | tm-scripts-62d78729a32dd136feddede21a5dc6e9c3dbe2d7.tar.gz tm-scripts-62d78729a32dd136feddede21a5dc6e9c3dbe2d7.tar.xz tm-scripts-62d78729a32dd136feddede21a5dc6e9c3dbe2d7.zip | |
helpers/includes now should include an __init function and not just do stuff right away when being sourced
Diffstat (limited to 'remote/includes/chroot.inc')
| -rw-r--r-- | remote/includes/chroot.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/remote/includes/chroot.inc b/remote/includes/chroot.inc index 4a8a350f..146d7e7e 100644 --- a/remote/includes/chroot.inc +++ b/remote/includes/chroot.inc @@ -15,11 +15,11 @@ # # ----------------------------------------------------------------------------- -CHROOT_TEMPDIR="${ROOT_DIR}/remote/chroot.tmp" -CHROOT_MOUNTDIR="${CHROOT_TEMPDIR}/rootmount" -CHROOT_BINDDIR="${CHROOT_TEMPDIR}/rootbind" -CHROOT_LOWERDIR="/" -CHROOT_BINDMOUNTS="/dev /proc /sys /run" +declare -rg CHROOT_TEMPDIR="${ROOT_DIR}/remote/chroot.tmp" +declare -rg CHROOT_MOUNTDIR="${CHROOT_TEMPDIR}/rootmount" +declare -rg CHROOT_BINDDIR="${CHROOT_TEMPDIR}/rootbind" +declare -rg CHROOT_LOWERDIR="/" +declare -rg CHROOT_BINDMOUNTS="/dev /proc /sys /run" # Helper function to setup the directory structure chroot_prepare_dirs() { |
