File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,12 @@ if [ "${LIMA_INSTALL_DOCKER}" == "true" ]; then
171
171
echo xz >> " $tmp " /etc/apk/world
172
172
fi
173
173
174
+ # /proc/sys/fs/binfmt_misc must exist for /etc/init.d/procfs to load
175
+ # the binfmt-misc kernel module, which will then mount the filesystem.
176
+ # This is needed for Rosetta to register.
177
+ mkdir -p " ${tmp} /proc/sys/fs/binfmt_misc"
178
+ rc_add procfs default
179
+
174
180
if [ " ${LIMA_INSTALL_BINFMT_MISC} " == " true" ]; then
175
181
# install qemu-aarch64 on x86_64 and vice versa
176
182
OTHERARCH=aarch64
@@ -283,6 +289,7 @@ if [ "${LIMA_INSTALL_CRI_DOCKERD}" == "true" ]; then
283
289
fi
284
290
285
291
mkdir -p " ${tmp} /etc"
292
+ mkdir -p " ${tmp} /proc"
286
293
mkdir -p " ${tmp} /usr"
287
294
288
- tar -c -C " $tmp " etc usr | gzip -9n > $HOSTNAME .apkovl.tar.gz
295
+ tar -c -C " $tmp " etc proc usr | gzip -9n > $HOSTNAME .apkovl.tar.gz
Original file line number Diff line number Diff line change 3
3
depend () {
4
4
after lima-init-local
5
5
after net
6
+ after procfs
6
7
provide lima-init
7
8
}
8
9
You can’t perform that action at this time.
0 commit comments