Open AkihiroSuda opened 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"
go build -tags "no_network_vpnkit no_network_lxcusernic"
why doing this ? almost of drivers are called from binaries. IMO, not installing the driver binary should be is enough.
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"