A rootless Android app that boots Alpine Linux: run containers (Podman/Docker/LXC) and GUI desktop apps.
feat(rootfs): export COLORTERM=truecolor; bundle Podroid logo
ExTv5f79ed68ebcd
diff --git a/build-rootfs/build-rootfs.sh b/build-rootfs/build-rootfs.shindex cd05ea9..f9d8d4e 100755--- a/build-rootfs/build-rootfs.sh+++ b/build-rootfs/build-rootfs.sh@@ -94,6 +94,12 @@ cp /work/files/etc/conf.d/podroid "$ROOTFS/etc/conf.d/"cp /work/files/etc/inittab "$ROOTFS/etc/inittab"cp /work/files/etc/rc.conf "$ROOTFS/etc/rc.conf"+# /etc/profile.d/*.sh — sourced by Alpine's /etc/profile in login shells.+# Currently: COLORTERM=truecolor so apps emit 24-bit color sequences.+mkdir -p "$ROOTFS/etc/profile.d"+cp /work/files/etc/profile.d/*.sh "$ROOTFS/etc/profile.d/" 2>/dev/null || true+chmod 0644 "$ROOTFS/etc/profile.d/"*.sh 2>/dev/null || true+# Hostname (read by podroid-bootstrap via `hostname -F /etc/hostname`)echo "podroid" > "$ROOTFS/etc/hostname"echo "127.0.0.1 localhost podroid" > "$ROOTFS/etc/hosts"diff --git a/build-rootfs/files/etc/profile.d/podroid-color.sh b/build-rootfs/files/etc/profile.d/podroid-color.shnew file mode 100644index 0000000..a5a9db7--- /dev/null+++ b/build-rootfs/files/etc/profile.d/podroid-color.sh@@ -0,0 +1,4 @@+# Advertise truecolor capability so apps (nvim, btop, lazygit, fzf) emit+# 24-bit color sequences. The TerminalEmulator already supports CSI 38;2;R;G;B+# and CSI 48;2;R;G;B; this just makes apps know they should use them.+export COLORTERM=truecolordiff --git a/build-rootfs/files/usr/share/podroid/logo.png b/build-rootfs/files/usr/share/podroid/logo.pngnew file mode 100644index 0000000..f02b52fBinary files /dev/null and b/build-rootfs/files/usr/share/podroid/logo.png differ