Skip to content
Snippets Groups Projects
Verified Commit 2615fd81 authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

mkimage.sh: run debugfs on boot.ext2

parent d392995d
Branches
Tags
1 merge request!83Build LS1028A System Image
...@@ -186,7 +186,7 @@ for PLATFORM in $PLATFORMS; do ...@@ -186,7 +186,7 @@ for PLATFORM in $PLATFORMS; do
--tarball - boot.ext2 --tarball - boot.ext2
# make sure that the filesystem includes boot.scr # 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" | sed 's/ \+/ /g' | grep --quiet "Type: regular Mode: 0644 Flags: 0x0"
IMGNAME=reform-system-$PLATFORM.img IMGNAME=reform-system-$PLATFORM.img
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment