do not run another apt-get pass with custom variant
This commit is contained in:
parent
2eed1262db
commit
548130867b
1 changed files with 2 additions and 2 deletions
|
@ -1320,9 +1320,9 @@ sub setup {
|
||||||
}
|
}
|
||||||
} elsif (any { $_ eq $options->{mode} } ('root', 'unshare', 'fakechroot', 'proot')) {
|
} elsif (any { $_ eq $options->{mode} } ('root', 'unshare', 'fakechroot', 'proot')) {
|
||||||
|
|
||||||
if ($options->{variant} eq 'extract') {
|
if (any { $_ eq $options->{variant} } ('extract', 'custom')) {
|
||||||
# nothing to do
|
# nothing to do
|
||||||
} elsif (any { $_ eq $options->{variant} } ('custom', 'essential', 'apt', 'standard', 'important', 'required', 'buildd', 'minbase')) {
|
} elsif (any { $_ eq $options->{variant} } ('essential', 'apt', 'standard', 'important', 'required', 'buildd', 'minbase')) {
|
||||||
if ($options->{mode} eq 'fakechroot') {
|
if ($options->{mode} eq 'fakechroot') {
|
||||||
# this borrows from and extends
|
# this borrows from and extends
|
||||||
# /etc/fakechroot/debootstrap.env and /etc/fakechroot/chroot.env
|
# /etc/fakechroot/debootstrap.env and /etc/fakechroot/chroot.env
|
||||||
|
|
Loading…
Reference in a new issue