summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-05-30 14:07:44 +0000
committerOlivier Blin <oblin@mandriva.com>2008-05-30 14:07:44 +0000
commit3f623c51e69918023c250a648d3b67cc8e1d0283 (patch)
tree00a14b234b719bbf1af3e8aba7d363276322e61e
parentbb4ab9c6857d4e9d147ca515704254507198eb65 (diff)
downloaddraklive-install-3f623c51e69918023c250a648d3b67cc8e1d0283.tar
draklive-install-3f623c51e69918023c250a648d3b67cc8e1d0283.tar.gz
draklive-install-3f623c51e69918023c250a648d3b67cc8e1d0283.tar.bz2
draklive-install-3f623c51e69918023c250a648d3b67cc8e1d0283.tar.xz
draklive-install-3f623c51e69918023c250a648d3b67cc8e1d0283.zip
remove hds from harddrake config in live system too so that they get reconfigured at next reboot
-rwxr-xr-xdraklive-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/draklive-install b/draklive-install
index 9bc919e..c796946 100755
--- a/draklive-install
+++ b/draklive-install
@@ -305,10 +305,11 @@ sub setup_bootloader {
}
sub clean_live_system_hds() {
- #- clean fstab in the live system
+ #- clean fstab and harddrake config in the live system
#- since partitions UUIDs of the installed system have been modified
#- (useful for persistent live systems)
local $::prefix = undef;
+ clean_harddrake_hds($::prefix);
my $all_hds = fs::get::empty_all_hds(); #- skip real harddisks
fs::get_raw_hds('', $all_hds);
fs::get_info_from_fstab($all_hds);