Skip to content

Commit

Permalink
Debian sid no-merged-usr
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Mar 1, 2024
1 parent aa3dacb commit 0b9b871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/debootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func (s *debootstrap) Run() error {
release := strings.ToLower(s.definition.Image.Release)

// Enable merged /usr by default, and disable it for certain distros/releases
if distro == "ubuntu" && incus.ValueInSlice(release, []string{"xenial", "bionic", "noble"}) || distro == "mint" && incus.ValueInSlice(release, []string{"tara", "tessa", "tina", "tricia", "ulyana"}) || distro == "devuan" {
if distro == "ubuntu" && incus.ValueInSlice(release, []string{"xenial", "bionic", "noble"}) || distro == "debian" && incus.ValueInSlice(release, []string{"sid"}) || distro == "mint" && incus.ValueInSlice(release, []string{"tara", "tessa", "tina", "tricia", "ulyana"}) || distro == "devuan" {
args = append(args, "--no-merged-usr")
} else {
args = append(args, "--merged-usr")
Expand Down

0 comments on commit 0b9b871

Please sign in to comment.