diff options
Diffstat (limited to 'scripts/build/chroot_dpkg')
-rwxr-xr-x | scripts/build/chroot_dpkg | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/build/chroot_dpkg b/scripts/build/chroot_dpkg index 32f1aec40..2e5b7a369 100755 --- a/scripts/build/chroot_dpkg +++ b/scripts/build/chroot_dpkg @@ -24,14 +24,12 @@ Init_config_data "${@}" # Requiring stage file Require_stagefile config bootstrap -STAGE_FILE="chroot_dpkg" - case "${1}" in install) Echo_message "Configuring file /sbin/start-stop-daemon" # Checking stage file - Check_stagefile "${STAGE_FILE}" + Check_stagefile # Acquire lock file Acquire_lockfile @@ -58,7 +56,7 @@ EOF ln -fs /bin/true chroot/usr/sbin/flash-kernel # Creating stage file - Create_stagefile "${STAGE_FILE}" + Create_stagefile ;; remove) @@ -84,7 +82,7 @@ EOF rm -f chroot/etc/dpkg/dpkg.cfg.d/live-build # Removing stage file - Remove_stagefile "${STAGE_FILE}" + Remove_stagefile ;; *) |