diff options
author | Jonathan Bauer | 2018-02-13 14:54:10 +0100 |
---|---|---|
committer | Jonathan Bauer | 2018-02-13 14:54:10 +0100 |
commit | 20cabb987b538bcdaa6178b780e89e55ad17ce3f (patch) | |
tree | fc7c24bc107359c0999896e96e9dadc17a448317 /Makefile | |
parent | Makefile: create the symlink to <flavor>.latest before provisioning (diff) | |
download | packer-templates-20cabb987b538bcdaa6178b780e89e55ad17ce3f.tar.gz packer-templates-20cabb987b538bcdaa6178b780e89e55ad17ce3f.tar.xz packer-templates-20cabb987b538bcdaa6178b780e89e55ad17ce3f.zip |
Makefile: boot targets: reintroduce deletion of tmp image if DEBUG is set
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -129,6 +129,9 @@ $(BOOTTARGETS): -var='playbook=build-dracut-initramfs.yml' \ $(BUILD_DIR)/$(ANSIBLE_DIR)/run-playbook-only.json @mv $(BUILD_DIR)/$(ANSIBLE_DIR)/boot_files $(BUILD_DIR)/build/boot + ifndef DEBUG + @rm -rf $(BUILD_DIR)/build/tmp + endif clean_except_last: |