core-updates: Ensure we have no temporary data in the package

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Michael Tremer
2020-03-23 19:34:59 +00:00
committed by Arne Fitzenreiter
parent 258bc2e318
commit 70e7351c3e
3 changed files with 2 additions and 5 deletions

View File

@@ -255,9 +255,6 @@ endif
cd $(DIR_TMP)/cdrom && mkisofs $(ISO_ARGS) \
-o /install/images/$(SNAME)-$(VERSION).$(BUILD_ARCH)-full-core$(CORE).iso .
# Cleanup everything
rm -rf $(DIR_TMP)/cdrom
ifeq "$(HAS_ISOLINUX)" "1"
isohybrid $(ISOHYBRID_ARGS) /install/images/$(SNAME)-$(VERSION).$(BUILD_ARCH)-full-core$(CORE).iso
endif

View File

@@ -52,7 +52,7 @@ $(TARGET) : $(CORE)
.PHONY:
core/%:
rm -rf /install/packages/package
rm -rf /install/packages/package /tmp/*
mkdir -p /install/packages/package
eval $$(cat /usr/src/config/rootfiles/$@/meta)

View File

@@ -262,4 +262,4 @@ endif
# Compress Image
xz $(XZ_OPT) < $(IMG) > $(IMAGE_FILE)
rm -rf $(IMG) $(MNThdd)
rm -rf $(IMG) $(MNThdd) $(DIR_TMP)/cdrom