mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
release/dist/unixpkgs: demote deb iptables+iproute2 packages to recommended
Fixes #9236 Change-Id: Idbad2edb0262ef842afd6b40ae47f46e685b112d Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
50990f8931
commit
1bd3edbb46
19
release/dist/unixpkgs/pkgs.go
vendored
19
release/dist/unixpkgs/pkgs.go
vendored
@ -250,8 +250,23 @@ func (t *debTarget) Build(b *dist.Build) ([]string, error) {
|
|||||||
PreRemove: filepath.Join(repoDir, "release/deb/debian.prerm.sh"),
|
PreRemove: filepath.Join(repoDir, "release/deb/debian.prerm.sh"),
|
||||||
PostRemove: filepath.Join(repoDir, "release/deb/debian.postrm.sh"),
|
PostRemove: filepath.Join(repoDir, "release/deb/debian.postrm.sh"),
|
||||||
},
|
},
|
||||||
Depends: []string{"iptables", "iproute2"},
|
Depends: []string{},
|
||||||
Recommends: []string{"tailscale-archive-keyring (>= 1.35.181)"},
|
Recommends: []string{
|
||||||
|
"tailscale-archive-keyring (>= 1.35.181)",
|
||||||
|
// iptables is often required but not strictly needed; see
|
||||||
|
// https://github.com/tailscale/tailscale/issues/9236.
|
||||||
|
// We want to let people be able to install without it
|
||||||
|
// or remove it after the fact if they want.
|
||||||
|
"iptables",
|
||||||
|
// The "ip" command isn't needed since 2021-11-01 in
|
||||||
|
// 408b0923a61972ed but kept as an option as of
|
||||||
|
// 2021-11-18 in d24ed3f68e35e802d531371. See
|
||||||
|
// https://github.com/tailscale/tailscale/issues/391.
|
||||||
|
// We keep it recommended because it's usually
|
||||||
|
// installed anyway and it's useful for debugging. But
|
||||||
|
// we can live without it, so it's not Depends.
|
||||||
|
"iproute2",
|
||||||
|
},
|
||||||
Replaces: []string{"tailscale-relay"},
|
Replaces: []string{"tailscale-relay"},
|
||||||
Conflicts: []string{"tailscale-relay"},
|
Conflicts: []string{"tailscale-relay"},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user