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-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43ae63f4fee969bdc5ac4b7550ff9c959e2df510;p=people%2Fms%2Fipfire-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 da898db0c..40c65cfff 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