mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
flash-images: remove wrong 2nd partition
the new sfdisk seems not able to skip a partition anymore. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user