From 7eab6eb69594956a54662dd5810b956a6e65ff0b Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Mon, 29 Jul 2024 11:36:08 +0000 Subject: [PATCH] fix: resize root partition after dd --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cab4da6..837f159 100644 --- a/Makefile +++ b/Makefile @@ -12,4 +12,5 @@ $(IMAGE): flash: $(IMAGE) $(TARGET) sudo dd if=$(IMAGE) of=$(TARGET) - sudo parted -sf $(TARGET) p + sudo partprobe + sudo parted -sf $(TARGET) resizepart 2 100%