flash-images: fix build images after util-linux update

Submitted by Marcel Lorenz on June 9, 2017, 6:14 a.m.

Details

Message ID 20170609061441.1886-1-marcel.lorenz@ipfire.org
State New
Headers show

Commit Message

Marcel Lorenz June 9, 2017, 6:14 a.m.
sfdisk options -D -H -S are since util-linux 2.26 deprecated

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
---
 lfs/flash-images | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/lfs/flash-images b/lfs/flash-images
index 3d586c0..ef40a37 100644
--- a/lfs/flash-images
+++ b/lfs/flash-images
@@ -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 $(DEVICE)
 
 	kpartx -v -a $(DEVICE)