From 2615fd814944ff1ec98fdd22754ae2a34aede334 Mon Sep 17 00:00:00 2001
From: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
Date: Thu, 21 Sep 2023 15:03:10 +0200
Subject: [PATCH] mkimage.sh: run debugfs on boot.ext2

---
 mkimage.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mkimage.sh b/mkimage.sh
index f1619fd..8bfa9d7 100755
--- a/mkimage.sh
+++ b/mkimage.sh
@@ -186,7 +186,7 @@ for PLATFORM in $PLATFORMS; do
 		--tarball - boot.ext2
 
 	# make sure that the filesystem includes boot.scr
-	debugfs /dev/mmcblk0p1 -R "stat boot.scr" \
+	debugfs boot.ext2 -R "stat boot.scr" \
 		| sed 's/ \+/ /g' | grep --quiet "Type: regular Mode: 0644 Flags: 0x0"
 
 	IMGNAME=reform-system-$PLATFORM.img
-- 
GitLab