Skip to content

Commit 4ac5bc1

Browse files
committed
Fix overlayfs mount ordering
1 parent 429b9d8 commit 4ac5bc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fex-emu-rootfs-generator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ After=$units
3737
What=overlay
3838
Where=/run/fex-emu/rootfs
3939
Type=overlay
40-
Options=lowerdir=$(echo $mounts|tr ' ' :),upperdir=/run/fex-emu/writable,workdir=/run/fex-emu/workdir
40+
Options=lowerdir=$(echo $mounts|tr ' ' '\n' | tac | tr '\n' :|sed -e 's/.$//'),upperdir=/run/fex-emu/writable,workdir=/run/fex-emu/workdir
4141
4242
[Install]
4343
WantedBy=multi-user.target

0 commit comments

Comments
 (0)