support/testing: test_systemd.py: add linux fragment to enable CONFIG_BINFMT_MISC
authorRomain Naour <romain.naour@smile.fr>
Sun, 1 Mar 2020 16:26:47 +0000 (17:26 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 1 Mar 2020 17:43:42 +0000 (18:43 +0100)
commitb1e4404c047f87e8c1e5321d9f01b8620e983ca2
treeb39a726ef0c64f4387acf5adf87e5ccddd8351bc
parent0fd23c3e28405e82695fa6a29d5b9e875ad93c9a
support/testing: test_systemd.py: add linux fragment to enable CONFIG_BINFMT_MISC

While investigating [1] one units failed due to missing kernel option
CONFIG_BINFMT_MISC needed by "proc-sys-fs-binfmt_misc.mount" service.

It's because the kernel support autofs4 but not MISC binaries.

Since the systemd test infra use the default defconfig (vexpress),
we need to provide a linux fragment to enable CONFIG_BINFMT_MISC.

[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/454255917

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr:
  - move the kernel config with the others in conf/
]
Tested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
support/testing/conf/binfmt-misc-kernel-fragment.config [new file with mode: 0644]
support/testing/tests/init/test_systemd.py