remove unused call to dpkg --print-architecture

This commit is contained in:
Johannes Schauer Marin Rodrigues 2024-11-27 07:28:03 +01:00
parent 6617436d70
commit e5d86136ed
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -3130,7 +3130,6 @@ sub run_setup() {
# 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
# chrootless mode.
chomp(my $hostarch = `dpkg --print-architecture`);
if ((!-e "$options->{root}/var/lib/dpkg/arch")) {
open my $fh, '>', "$options->{root}/var/lib/dpkg/arch"
or error "cannot open /var/lib/dpkg/arch: $!";