diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-06-10 07:38:18 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-06-10 07:38:18 +0000 |
commit | a655b0e1e07efb3fd057f726b85887908d970ba6 (patch) | |
tree | 5c22433d00fef31132d1ce790939093b0e3956a2 /perl-install/bootloader.pm | |
parent | b026d0fd87157061e0f8e5a31247bec7d08a8394 (diff) | |
download | drakx-backup-do-not-use-a655b0e1e07efb3fd057f726b85887908d970ba6.tar drakx-backup-do-not-use-a655b0e1e07efb3fd057f726b85887908d970ba6.tar.gz drakx-backup-do-not-use-a655b0e1e07efb3fd057f726b85887908d970ba6.tar.bz2 drakx-backup-do-not-use-a655b0e1e07efb3fd057f726b85887908d970ba6.tar.xz drakx-backup-do-not-use-a655b0e1e07efb3fd057f726b85887908d970ba6.zip |
- move functions using /proc/partitions out of fsedit to fs::proc_partitions
- remove unneeded "use xxx"
- add some "use xxx" (nb: not completly needed because some other modules may do it)
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 0d886f4cb..27a129fac 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -7,13 +7,13 @@ use strict; #- misc imports #-###################################################################################### use common; -use partition_table; use fs::type; use fs::get; +use fs::loopback; +use fs::proc_partitions; use log; use any; use devices; -use fs::loopback; use detect_devices; use partition_table::raw; use run_program; @@ -255,7 +255,7 @@ sub read_grub { sub yaboot2dev { my ($of_path) = @_; - find { dev2yaboot($_) eq $of_path } map { "/dev/$_->{dev}" } devices::read_proc_partitions_raw(); + find { dev2yaboot($_) eq $of_path } map { "/dev/$_->{dev}" } fs::proc_partitions::read_raw(); } # assumes file is in /boot |