flash-images: Collect files again instead of relying on the tarball

This has always been an ugly hack.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2024-07-09 17:38:12 +00:00
parent 1a9127ca54
commit de44376208

View File

@@ -139,12 +139,9 @@ ifeq "$(EFI)" "1"
mount $(PART_EFI) $(MNThdd)/boot/efi
endif
# Install IPFire
ifneq "$(BUILD_PLATFORM)" "arm"
tar $(TAR_OPTIONS) -x --zstd -C $(MNThdd)/ -f $(DIR_TMP)/cdrom/distro.img
else
tar $(TAR_OPTIONS) -x -C $(MNThdd)/ -f $(DIR_TMP)/cdrom/distro.img
endif
# Copy all files
$(call COPY_FILES,$(DIR_SRC)/config/rootfiles/common,$(MNThdd))
-touch $(MNThdd)/lib/modules/$(KVER)-ipfire/modules.dep
mkdir $(MNThdd)/proc
mount --bind /proc $(MNThdd)/proc