Files
ForgeOS-ARM64/overlay/rootfs/etc/systemd/system/forgeos-home-ownership.service
T
blazblue547-afk 9e86817361 feat: add ARM64 OS flavor
Use an ARM64 Debian rootfs bootstrap because the original source-built userspace path depends on native x86_64 host runtime libraries.
2026-06-17 12:16:09 -04:00

13 lines
384 B
Desktop File

[Unit]
Description=Repair ForgeOS user home ownership
Documentation=man:systemd.service(5)
After=local-fs.target
Before=systemd-user-sessions.service getty.target getty@tty1.service serial-getty@ttyAMA0.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'if [ -d /home/forge ]; then chown -R 1000:1000 /home/forge && chmod 700 /home/forge; fi'
[Install]
WantedBy=multi-user.target