From 7a9d8c4b6bfd13835b4df34fefd503edb34a9fd3 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Tue, 19 Dec 2017 20:19:04 +0000 Subject: Make configuration, settings, and documentation more generic. --- draklive | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'draklive') diff --git a/draklive b/draklive index 0ee99fb..8e4c430 100755 --- a/draklive +++ b/draklive @@ -82,9 +82,9 @@ my @all = qw(root boot loop master); die "you must be root to run this program\n" if $>; my $build_object = 'MGA::DrakISO::LiveBuild'->new; -my $config_root = $MGA::DrakISO::Config::default_config_root; -my $config_path = $MGA::DrakISO::Config::default_config_path; -my $settings_path = $MGA::DrakISO::Config::default_settings_path; +my $config_root = '/etc/draklive'; +my $config_path = 'config/build.cfg'; +my $settings_path = 'config/settings.cfg'; GetOptions( "help" => sub { Pod::Usage::pod2usage('-verbose' => 1) }, @@ -122,7 +122,7 @@ __END__ =head1 NAME -draklive - A live distribution mastering tool +draklive - A live distribution ISO mastering tool =head1 SYNOPSIS @@ -151,10 +151,10 @@ draklive [options] defaults to current directory if it contains a configuration file, otherwise to "/etc/draklive" - --config use this configuration file as live description - defaults to "config/live.cfg" + --config use this configuration file to control the build + defaults to "config/build.cfg" - --settings use this file as live settings (key=value format) + --settings use this file as build settings (key=value format) defaults to "config/settings.cfg" --define key=value @@ -169,7 +169,7 @@ Examples: draklive --all - draklive --config config/live.cfg --root + draklive --config config/build.cfg --root =head1 OPTIONS @@ -178,7 +178,7 @@ Examples: =item B<--config> Makes draklive use the next argument as a configuration file. -This file should contain a hash describing the live distribution. +This file should contain a hash specifying the ISO makeup. See the "drakiso-live" page on the Mageia Wiki for details. =item B<--settings> @@ -207,7 +207,7 @@ Example keys: =head1 DESCRIPTION -B builds a live distribution according to a configuration file, +B builds a live distribution ISO according to a configuration file, creates a master image, and optionally installs it on a device. See L -- cgit v1.2.1