remove unused call to dpkg --print-architecture
This commit is contained in:
parent
6617436d70
commit
e5d86136ed
1 changed files with 0 additions and 1 deletions
|
@ -3130,7 +3130,6 @@ sub run_setup() {
|
||||||
# We nevertheless always add /var/lib/dpkg/arch to make a chroot built the
|
# We nevertheless always add /var/lib/dpkg/arch to make a chroot built the
|
||||||
# normal way bit-by-bit identical to a foreign arch chroot built in
|
# normal way bit-by-bit identical to a foreign arch chroot built in
|
||||||
# chrootless mode.
|
# chrootless mode.
|
||||||
chomp(my $hostarch = `dpkg --print-architecture`);
|
|
||||||
if ((!-e "$options->{root}/var/lib/dpkg/arch")) {
|
if ((!-e "$options->{root}/var/lib/dpkg/arch")) {
|
||||||
open my $fh, '>', "$options->{root}/var/lib/dpkg/arch"
|
open my $fh, '>', "$options->{root}/var/lib/dpkg/arch"
|
||||||
or error "cannot open /var/lib/dpkg/arch: $!";
|
or error "cannot open /var/lib/dpkg/arch: $!";
|
||||||
|
|
Loading…
Reference in a new issue