prefer fakechroot to proot in auto mode because the latter produces wrong ownership
This commit is contained in:
parent
a3afe24fc0
commit
b9e78796b2
1 changed files with 2 additions and 2 deletions
|
@ -1716,10 +1716,10 @@ sub main() {
|
|||
$options->{mode} = 'root';
|
||||
} elsif (test_unshare(0)) {
|
||||
$options->{mode} = 'unshare';
|
||||
} elsif (system('proot --version>/dev/null') == 0) {
|
||||
$options->{mode} = 'proot';
|
||||
} elsif (system('fakechroot --version>/dev/null') == 0) {
|
||||
$options->{mode} = 'fakechroot';
|
||||
} elsif (system('proot --version>/dev/null') == 0) {
|
||||
$options->{mode} = 'proot';
|
||||
} else {
|
||||
error "unable to pick chroot mode automatically";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue