From 55c2e86d0fa97b4182bba4a43eecc076f7cce3ff Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Fri, 22 Dec 2017 21:26:43 +0000 Subject: For clarity, rename umount_external_fs() to umount_all_in_chroot(). --- lib/MGA/DrakISO/Utils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/MGA/DrakISO/Utils.pm') diff --git a/lib/MGA/DrakISO/Utils.pm b/lib/MGA/DrakISO/Utils.pm index b7dbcee..35fae93 100644 --- a/lib/MGA/DrakISO/Utils.pm +++ b/lib/MGA/DrakISO/Utils.pm @@ -30,7 +30,7 @@ use IO::Select; use Exporter; our @ISA = qw(Exporter); -our @EXPORT = qw(directory_usage run_ copy_or_link mount_system_fs umount_external_fs); +our @EXPORT = qw(directory_usage run_ copy_or_link mount_system_fs umount_all_in_chroot); sub directory_usage { my ($dir, $o_apparent) = @_; @@ -96,7 +96,7 @@ sub mount_system_fs { run_('mount', '-t', 'sysfs', '/sys', $build->get_system_root . '/sys'); } -sub umount_external_fs { +sub umount_all_in_chroot { my ($build) = @_; my $system_root = Cwd::abs_path($build->get_system_root); my @mounts = grep { $_ =~ $system_root } split("\n", cat_('/proc/mounts')); -- cgit v1.2.1