Fix execution of post install scripts on cross builds#111
Conversation
|
What is the level of portability for the 'F' flag? Currently you can with some effort run mklive on another distro's kernels and it will work. |
Very high. The binfmt_misc implementation supports this flag in any recent kernel version. I checked longterm versions and it is already available in 4.9. The only longterm kernels not supporting it are 4.4 and 3.16. |
I don't know, It's been failing for me for a while and that was an easy way I found to fix it. I didn't spend time investigating further, but I agreed that the original implementation should be working too. |
Add missing call to register_binfmt before installing packages on mkrootfs.
|
@xtraeme It turns out it can be fixed by just adding the missing call to register_binfmt on mkrootfs (second item on the commit message). I updated the PR including that part alone and I'll push a new one with the fix binary enhancement, so we can decide later when to merge it. |
Call register_binfmt before installing packages on mkrootfs.