Skip to content

Commit 811660c

Browse files
authored
Immutable /home with content from image
1 parent 0612235 commit 811660c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎build_files/build.sh‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
set -ouex pipefail
44

5+
# Remove symlink to /var/home
6+
# We can link anything that should be mutable manually
7+
rm /home
8+
59
# Copy the contents of system_files/ of the git repo to /
610
cp -avf "/ctx/system_files"/. /
711

@@ -43,7 +47,7 @@ useradd --home-dir / --no-create-home --system --shell /bin/nologin greeter
4347

4448
### Create the arcade user
4549

46-
useradd --create-home --shell /usr/bin/fish arcade
50+
useradd --no-create-home --shell /usr/bin/fish arcade
4751

4852
### Install RetroArch
4953

0 commit comments

Comments
 (0)