Skip to content

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

feat(kernel): enable pressure stall information

ExTv4305a4054aca
diff --git a/Dockerfile b/Dockerfile
index e7a6b0a..5949170 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -131,6 +131,7 @@ RUN printf '%s\n' \
'CONFIG_ANDROID_BINDER_IPC=y' \
'CONFIG_ANDROID_BINDERFS=y' \
'CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"' \
+ 'CONFIG_PSI=y' \
> /tmp/forced_builtin.config
RUN cd linux-${KERNEL_VERSION} \
&& make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig \
@@ -158,7 +159,7 @@ RUN cd linux-${KERNEL_VERSION} \
SCSI BLK_DEV_SD VFAT_FS EXFAT_FS \
NFSD NFSD_V4 NFS_FS NFS_V4 SUNRPC CONFIGFS_FS \
TARGET_CORE TCM_IBLOCK TCM_FILEIO ISCSI_TARGET ISCSI_TCP \
- ANDROID_BINDER_IPC ANDROID_BINDERFS; do \
+ ANDROID_BINDER_IPC ANDROID_BINDERFS PSI; do \
grep -q "^CONFIG_${opt}=y\$" .config \
|| { echo "FATAL: CONFIG_${opt} is not =y after merge" >&2; \
grep "CONFIG_${opt}" .config >&2; exit 1; }; \
@@ -222,7 +223,7 @@ RUN cd /rootfs && find . | cpio -o -H newc 2>/dev/null | gzip -9 > /output/initr
# ==============================================================================
FROM debian:bookworm AS qemu-builder
-ARG QEMU_VERSION=11.0.2
+ARG QEMU_VERSION=11.0.4
ENV QEMU_DIR=qemu-${QEMU_VERSION}
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
diff --git a/podroid_kernel.config b/podroid_kernel.config
index 235656f..a727467 100644
--- a/podroid_kernel.config
+++ b/podroid_kernel.config
@@ -163,6 +163,12 @@ CONFIG_CGROUP_BPF=y
CONFIG_CGROUP_NET_PRIO=y
CONFIG_CGROUP_NET_CLASSID=y
+# Pressure stall information. Android's lmkd reads /proc/pressure, so Waydroid
+# inside an LXC container will not start without it. PSI_DEFAULT_DISABLED must
+# stay off, otherwise /proc/pressure only appears with psi=1 on the cmdline.
+CONFIG_PSI=y
+# CONFIG_PSI_DEFAULT_DISABLED is not set
+
# ── Namespaces — rootless Podman requires all of these ───────────────────────
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y