pkg/init: Mount /sys/fs/bpf

NOTE: This will be a shared mount, due to root being turned into a
shared with `MC_REC` set: `mount("", "/", "", rec|shared, "")`.
For some reason setting `shared` when mounting `/sys/fs/bpf` doesn't
work at all, perhaps that's just a kernel feature.

Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
This commit is contained in:
Ilya Dmitrichenko
2020-04-16 15:19:01 +01:00
parent 39aafb21d0
commit 86fb6ba0aa
104 changed files with 105 additions and 103 deletions

View File

@@ -3,7 +3,7 @@ kernel:
image: linuxkit/kernel:5.4.30
cmdline: "console=ttyS0"
init:
- linuxkit/init:7195dc244cd92af01fd0895fd204249a6114c5e2
- linuxkit/init:e93b0bf37b030238d33e04b98e90d087637f3d2c
- linuxkit/runc:f79954950022fea76b8b6f10de58cb48e4fb3878
onboot:
- name: test-ns