From 025e1fe146c254ddba14cddb02210d0d653cd676 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Thu, 6 Jul 2017 18:37:44 +0200 Subject: [PATCH] flash-images: remove wrong 2nd partition the new sfdisk seems not able to skip a partition anymore. Signed-off-by: Arne Fitzenreiter --- lfs/flash-images | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/flash-images b/lfs/flash-images index 121dc1148b..8ed7f63756 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -94,6 +94,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 -uS $(DEVICE) + -echo -e "d\n2\nw\n\q\n" | fdisk $(DEVICE) kpartx -v -a $(DEVICE) -- 2.39.2