mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-13 16:32:11 +00:00
consistent naming
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
15
alpine/packages/binfmt_misc/etc/init.d/binfmt_misc
Executable file
15
alpine/packages/binfmt_misc/etc/init.d/binfmt_misc
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
description="Configure binfmt misc emulation"
|
||||
|
||||
start()
|
||||
{
|
||||
ebegin "Configuring binfmt misc"
|
||||
mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
|
||||
echo ":qemu-arm:M:0:\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-arm-static:OC" > /proc/sys/fs/binfmt_misc/register
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
umount /proc/sys/fs/binfmt_misc
|
||||
}
|
||||
Reference in New Issue
Block a user