1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
94e8da202f Suppress 'not mounted' warning from umount in wrimg.sh
The partitions are typically already unmounted when wrimg.sh runs, so
umount prints 'not mounted' to stderr. This is harmless but noisy.
Redirect stderr to /dev/null and use || true so the warning is silenced.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-14 10:25:57 -04:00
70ad05528c Fix wrimg.sh device detection: use GPT PARTLABEL instead of filesystem LABEL
check_device() was using lsblk -o LABEL (filesystem labels) to identify
partitions, but mkimg.sh sets the labels via e2label which can silently
fail if the partition image wasn't built with an ext4 filesystem label.
The system partition in particular often shows as '/' (the mkfs.ext4
default) instead of 'system'.

Switch to lsblk -o PARTLABEL (GPT partition names), which are always set
correctly by mkimg.sh via sfdisk's name= parameter, and are preserved
regardless of filesystem layer.

Also broaden find_device() to check sde and mmcblk[01] entries.

Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
2026-07-14 10:23:21 -04:00
11b43ccd36 Match wrimg.sh vendor partition size check to the new 512M size 2026-07-13 13:23:23 -04:00
fad0e966b0 Fix wrimg.sh partition layout and mkimg.sh sgdisk dependency 2026-07-12 00:08:30 -04:00
ae84f8e65e Add device tree for Orange Pi 5 Ultra LineageOS ATV 2026-07-10 17:56:31 -04:00