Skip to content

A rootless Android app that boots Alpine Linux: run containers (Podman/Docker/LXC) and GUI desktop apps.

fix(kernel): mount casefold ext4 and guard the USB config symbols

ExTv2361a12306c9
diff --git a/Dockerfile b/Dockerfile
index b46cdfd..81c08a4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -136,7 +136,10 @@ RUN cd linux-${KERNEL_VERSION} \
DECOMPRESS_ZSTD ZSTD_DECOMPRESS \
IKCONFIG IKCONFIG_PROC BINFMT_MISC \
VSOCKETS VIRTIO_VSOCKETS \
- RFKILL LEDS_CLASS CFG80211 MAC80211 RTW88 BT; do \
+ RFKILL LEDS_CLASS CFG80211 MAC80211 RTW88 BT \
+ USB USB_SUPPORT WLAN \
+ RTW88_8821AU RTW88_8812AU RTW88_8814AU \
+ FW_LOADER_COMPRESS FW_LOADER_COMPRESS_ZSTD UNICODE; do \
grep -q "^CONFIG_${opt}=y\$" .config \
|| { echo "FATAL: CONFIG_${opt} is not =y after merge" >&2; \
grep "CONFIG_${opt}" .config >&2; exit 1; }; \
diff --git a/podroid_kernel.config b/podroid_kernel.config
index cfd8e3c..235656f 100644
--- a/podroid_kernel.config
+++ b/podroid_kernel.config
@@ -53,6 +53,11 @@ CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
# ── Filesystems (built-in) ────────────────────────────────────────────────────
CONFIG_EXT4_FS=y
+# Unicode/UTF-8 casefold tables: Android formats ext4/f2fs with the casefold
+# (case-insensitive) feature, and the kernel refuses to mount such volumes
+# without CONFIG_UNICODE. Needed so passed-through Android-formatted storage
+# is mountable in the guest.
+CONFIG_UNICODE=y
CONFIG_OVERLAY_FS=y
CONFIG_FUSE_FS=y
CONFIG_TMPFS=y