mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 21:12:59 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user