mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
flash-images: There is no need to for the mount check any more
We always start with a fresh mount namespace, so there cannot be anything left. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -101,9 +101,6 @@ SFDISK_EFI = $(shell echo $$(( $(S_OFFSET) + $(S_BOOT) ))),$(S_EFI),U\n
|
||||
SFDISK_ROOT = $(shell echo $$(( $(S_OFFSET) + $(S_BOOT) + $(S_EFI) ))),$(S_ROOT),L\n
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
# Stop if $(MNThdd) is still mounted
|
||||
mountpoint $(MNThdd) && exit 1 || exit 0
|
||||
|
||||
rm -rf $(IMG) $(MNThdd) && mkdir -p $(MNThdd)
|
||||
|
||||
# Allocate image on disk
|
||||
|
||||
Reference in New Issue
Block a user