Update package.mk files to enable shared libraries for libmodplug, libsamplerate, libffi, and pcre2; modify DISTRO_DISKLABEL in options; add CMake options for libwebp; enhance mkimage script to hide root partition from file managers.

This commit is contained in:
Douglas Teles
2026-04-03 13:04:56 -03:00
parent 5d63e6d12e
commit 433244480f
7 changed files with 10 additions and 5 deletions
+3
View File
@@ -94,6 +94,9 @@ if [ "${ROOTFS_TYPE}" = "ext4" ]; then
parted -s "${DISK}" -a min unit s mkpart primary ext4 ${ROOT_PART_START} ${ROOT_PART_END}
parted -s "${DISK}" -a min unit s mkpart primary ext4 ${STORAGE_PART_START} ${STORAGE_PART_END}
parted -s "${DISK}" set 1 boot on
# Hide root partition from desktop file managers by setting type to 0xDA (Non-FS data).
# The kernel still mounts it by LABEL from the boot cmdline.
sfdisk --part-type "${DISK}" 2 da >"${SAVE_ERROR}" 2>&1 || true
fi
# Set SYSTEM_PART_START for boot partition (used by bootloader dd and part1 merge)