diff options
Diffstat (limited to 'perl-install/fs/format.pm')
-rw-r--r-- | perl-install/fs/format.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm index 72e2504e1..f1efb8448 100644 --- a/perl-install/fs/format.pm +++ b/perl-install/fs/format.pm @@ -196,7 +196,7 @@ sub part_raw { # Preserve UUID on fs where we couldn't enforce it while formatting if (my $uuid_cmd = $preserve_UUID{$fs_type}) { (undef, $cmd) = @$uuid_cmd; - run_program::raw({}, $cmd, '-U', devices::make($dev)) if $cmd; + run_program::raw({}, $cmd, '-U', $part->{device_UUID}, devices::make($dev)) if $cmd; } if (member($fs_type, qw(ext3 ext4))) { |