From: Michael Tremer Date: Tue, 9 Jul 2024 17:36:10 +0000 (+0000) Subject: flash-images: There is no need to for the mount check any more X-Git-Tag: v2.29-core188~10^2~293 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1a9127ca54f53ae1a2e3952d546e06d2474609cf;p=ipfire-2.x.git 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 --- diff --git a/lfs/flash-images b/lfs/flash-images index da898db0c6..40c65cfffd 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -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