Skip to content

system: move rest of this to overlay#31

Draft
greatgitsby wants to merge 2 commits intocommaai:masterfrom
greatgitsby:claude/move-dockerfile-to-overlay-4NnhB
Draft

system: move rest of this to overlay#31
greatgitsby wants to merge 2 commits intocommaai:masterfrom
greatgitsby:claude/move-dockerfile-to-overlay-4NnhB

Conversation

@greatgitsby
Copy link
Collaborator

No description provided.

claude added 2 commits March 14, 2026 08:18
Move static file operations (symlinks, scripts, permissions, directory
creation) from Dockerfile RUN commands into the overlay so the filesystem
layout is visible in the repo. This eliminates ~25 RUN commands.

Moved to overlay:
- Runit service enablement symlinks (etc/runit/runsvdir/default/)
- sshd custom run script (etc/sv/sshd/run)
- USB /sbin/usb symlink, iptables.rules symlink, reboot symlink
- libjson-c.so.2 compat symlink
- Pre-modified 9024 composition (ffs.adb commented out)
- Pre-modified iptables rules.v4 (SSH ACCEPT rule)
- .bashrc bash_aliases sourcing
- Empty mount point dirs (dsp, bt_firmware, firmware) via .gitkeep
- /system/persist directory structure via .gitkeep
- /root/.config, /var/chroot/ssh via .gitkeep
- Eval scripts moved from userspace/eval/ to overlay usr/local/bin/
- File permissions set via git executable bit

Added Dockerfile.dockerignore to exclude .gitkeep from the image.

Kept in Dockerfile (can't be overlay):
- chown, chmod 600, sed on base files, usermod, ldconfig, rm, dynamic symlinks

https://claude.ai/code/session_01UoLneyzocpz1gHwjDqB4xK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants