rootless-containers / rootlesskit

Linux-native "fake root" for implementing rootless containers
Apache License 2.0
991 stars 98 forks source link

Support disabling specific drivers using go build tags #140

Open AkihiroSuda opened 4 years ago

AkihiroSuda commented 4 years ago

https://salsa.debian.org/go-team/packages/rootlesskit/-/blob/74020a391d57ffc8d7154a534c0894d1057947ab/debian/patches/0003-disable-vpnkit.patch https://salsa.debian.org/go-team/packages/rootlesskit/-/blob/74020a391d57ffc8d7154a534c0894d1057947ab/debian/patches/0004-Disable-lxcusernic.patch

These kinds of changes should be possible with go build tags like go build -tags "no_network_vpnkit no_network_lxcusernic"

fahedouch commented 1 year ago

why doing this ? almost of drivers are called from binaries. IMO, not installing the driver binary should be is enough.