cdrom: Cleanup everything after mastering
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 23 Mar 2020 19:34:56 +0000 (19:34 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 24 Mar 2020 08:56:40 +0000 (08:56 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/cdrom

index f18b80a..175a5ae 100644 (file)
--- a/lfs/cdrom
+++ b/lfs/cdrom
@@ -255,6 +255,9 @@ 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