From: Arne Fitzenreiter Date: Thu, 6 Jul 2017 06:32:13 +0000 (+0200) Subject: flash-images: remove unsupported sfdisk switches X-Git-Tag: v2.19-core112~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3e86ec56bcdf2c7f8186dc11ce1cc14c2eb99b2;p=people%2Fstevee%2Fipfire-2.x.git flash-images: remove unsupported sfdisk switches New util-linux sfdisk does not have -D and -H / -S switches. Signed-off-by: Arne Fitzenreiter --- 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)