Changeset 2667 in MondoRescue for devel/mrmini/lib/MondoRescue/Mini/Base.pm


Ignore:
Timestamp:
Jun 27, 2010, 3:27:16 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3936@dhcp184-49-175-19: bruno | 2010-06-26 09:48:04 +0200

  • Inventory now in better shape. Needs useful and exhaustive content now.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/mrmini/lib/MondoRescue/Mini/Base.pm

    r2666 r2667  
    2020use MondoRescue::Base;
    2121use MondoRescue::LVM;
     22use MondoRescue::Inventory;
    2223
    2324# Inherit from the "Exporter" module which handles exporting functions.
     
    7980pb_log(0,"$ARCH architecture detected\n");
    8081pb_log(0,"$ENV{'PBPKG'} called with the following arguments: ".join(" ",@ARGV)."\n");
    81 pb_log(0,$sep);
     82pb_log(1,$sep);
    8283pb_log(1,"CONFDIR: $mr->{'confdir'}\n");
    8384pb_log(1,"SBIN: $mr->{'install_dir'}/sbin\n");
     
    9293    pb_display_file("$mr->{'confdir'}/mondorescue.conf",$pbLOG);
    9394}
    94 pb_log(0,$sep);
    9595
    9696#
    9797# Prepare cache dir
    9898#
     99# To be checked more
    99100pb_rm_rf("$mr->{'cache_dir'}/*");
    100101pb_mkdir_p($mr->{'cache_dir'});
     
    103104my $mrmini_deplist = "$mr->{'confdir'}/deplist.d";
    104105
    105 #
    106 # LVM setup
    107 #
    108 my ($lvmver,$lvmcmd) = mr_lvm_check();
    109 
    110 pb_log(0,"LVM $lvmver command set to $lvmcmd\n");
    111 pb_log(0,$sep);
     106# Full OS inventory
     107mr_inv_os();
    112108}
Note: See TracChangeset for help on using the changeset viewer.