Skip to content

Commit de9c075

Browse files
committed
Make sure /proc/sys/fs/binfmt_misc has been mounted (on Alpine)
In Alpine cloud images don't mount the binfmt_misc filesystem by default. This is done by starting the `procfs` service. Signed-off-by: Jan Dubois <[email protected]>
1 parent 0f21216 commit de9c075

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cidata/cidata.TEMPLATE.d/boot/05-rosetta-volume.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ if [ "$LIMA_CIDATA_ROSETTA_ENABLED" != "true" ]; then
77
fi
88

99
if [ -f /etc/alpine-release ]; then
10+
rc-service procfs start --ifnotstarted
1011
rc-service qemu-binfmt stop --ifstarted
1112
fi
1213

0 commit comments

Comments
 (0)