diff options
Diffstat (limited to 'perl-install/install')
-rw-r--r-- | perl-install/install/any.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 7af16307b..d99940a93 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -960,9 +960,9 @@ sub find_root_parts { my $extract = sub { my ($prefix, $f, $part) = @_; chomp(my $s = cat_("$prefix$f")); - $s =~ s/\s+for\s+\S+//; - log::l("find_root_parts found $part->{device}: $s" . ($f !~ m!/etc/! ? " in special release file $f" : '')); - { release => $s, release_file => $f, part => $part }; + my $arch = $s =~ s/\s+for\s+(\S+)// && $1; + log::l("find_root_parts found $part->{device}: $s for $arch" . ($f !~ m!/etc/! ? " in special release file $f" : '')); + { release => $s, release_file => $f, part => $part, arch => $arch }; }; if ($::local_install) { |