summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_debianchroot
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_debianchroot')
-rwxr-xr-xscripts/build/chroot_debianchroot8
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/build/chroot_debianchroot b/scripts/build/chroot_debianchroot
index 2cd8df566..5e3499285 100755
--- a/scripts/build/chroot_debianchroot
+++ b/scripts/build/chroot_debianchroot
@@ -24,14 +24,12 @@ Init_config_data "${@}"
# Requiring stage file
Require_stagefile config bootstrap
-STAGE_FILE="chroot_debianchroot"
-
case "${1}" in
install)
Echo_message "Configuring file /etc/debian_chroot"
# Checking stage file
- Check_stagefile "${STAGE_FILE}"
+ Check_stagefile
# Acquire lock file
Acquire_lockfile
@@ -46,7 +44,7 @@ case "${1}" in
echo "live" > chroot/etc/debian_chroot
# Creating stage file
- Create_stagefile "${STAGE_FILE}"
+ Create_stagefile
;;
remove)
@@ -65,7 +63,7 @@ case "${1}" in
fi
# Removing stage file
- Remove_stagefile "${STAGE_FILE}"
+ Remove_stagefile
;;
*)