From f3e86ec56bcdf2c7f8186dc11ce1cc14c2eb99b2 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 6 Jul 2017 08:32:13 +0200 Subject: [PATCH] flash-images: remove unsupported sfdisk switches New util-linux sfdisk does not have -D and -H / -S switches. Signed-off-by: Arne Fitzenreiter --- lfs/flash-images | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfs/flash-images b/lfs/flash-images index 3d586c0eae..121dc1148b 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2016 IPFire Team # +# Copyright (C) 2007-2017 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -93,7 +93,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # Write Partition table echo -e "$(S_OFFSET),$(S_BOOT),$(PART_TYPE),*\n,0,0\n$$(( $(S_BOOT) + $(S_OFFSET) )),$(S_ROOT),L\n" \ - | sfdisk -D -uS -H 64 -S 32 $(DEVICE) + | sfdisk -uS $(DEVICE) kpartx -v -a $(DEVICE) -- 2.39.2