jirutka/qemu-openrc

Unable to set empty qemu_suffix

michaelforney opened this issue · 0 comments

I'm trying to use the qemu-binfmt script to register qemu-user binfmt handlers on Alpine Linux. Since the binaries are called qemu-$arch with no suffix, and the default suffix in this script is -static, I tried to set qemu_suffix= in /etc/conf.d/qemu-binfmt.

However, since the default is set using : ${qemu_suffix:=-static}, it is impossible to clear it. I suspect that using : ${qemu_suffix=-static} should fix the issue, which works similarly, but doesn't substitute -static when it is set and empty.