mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
images: Ensure that all mount points are created
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -382,6 +382,9 @@ __COMPRESS = \
|
||||
COMPRESS_XZ = $(call __COMPRESS,$(1),$(2),xz $(XZ_OPT))
|
||||
COMPRESS_ZSTD = $(call __COMPRESS,$(1),$(2),zstd $(ZSTD_OPT))
|
||||
|
||||
# Helper function to make sure that we have all sorts of mountpoints in the images
|
||||
CREATE_MOUNTPOINTS = mkdir -pv $(1)/dev $(1)/proc $(1)/sys
|
||||
|
||||
define PAK
|
||||
# Bringing the files to their right place.
|
||||
@rm -rf $(DIR_TMP_PAK) && mkdir -p $(DIR_TMP_PAK)
|
||||
|
||||
Reference in New Issue
Block a user