From: Arne Fitzenreiter Date: Thu, 6 Jul 2017 16:37:44 +0000 (+0200) Subject: flash-images: remove wrong 2nd partition X-Git-Tag: v2.19-core112~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=025e1fe146c254ddba14cddb02210d0d653cd676;p=people%2Fstevee%2Fipfire-2.x.git flash-images: remove wrong 2nd partition the new sfdisk seems not able to skip a partition anymore. Signed-off-by: Arne Fitzenreiter --- 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)