diff options
Diffstat (limited to 'scripts/build/chroot_tmpfs')
-rwxr-xr-x | scripts/build/chroot_tmpfs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/build/chroot_tmpfs b/scripts/build/chroot_tmpfs index 9ad643ea2..074ef9422 100755 --- a/scripts/build/chroot_tmpfs +++ b/scripts/build/chroot_tmpfs @@ -29,14 +29,12 @@ fi # Requiring stage file Require_stagefile config bootstrap -STAGE_FILE="chroot_tmpfs" - case "${1}" in install) Echo_message "Configuring tmpfs for /var/lib/dpkg" # Checking stage file - Check_stagefile "${STAGE_FILE}" + Check_stagefile # Acquire lock file Acquire_lockfile @@ -48,7 +46,7 @@ case "${1}" in rm -rf chroot/var/lib/dpkg.tmp # Creating stage file - Create_stagefile "${STAGE_FILE}" + Create_stagefile ;; remove) @@ -64,7 +62,7 @@ case "${1}" in mv chroot/var/lib/dpkg.tmp chroot/var/lib/dpkg # Removing stage file - Remove_stagefile "${STAGE_FILE}" + Remove_stagefile ;; *) |