diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-22 00:27:49 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-22 00:28:31 +0000 |
commit | fcdc9d5967cbf861db391a777bb129afc2e2560b (patch) | |
tree | 68e13a27e47122ec4dcce465fe64323f745a8ea2 /lib/MGA/DrakISO/LiveBuild.pm | |
parent | b52888b09904b607c8351da18affaf19e3690ee9 (diff) | |
download | drakiso-fcdc9d5967cbf861db391a777bb129afc2e2560b.tar drakiso-fcdc9d5967cbf861db391a777bb129afc2e2560b.tar.gz drakiso-fcdc9d5967cbf861db391a777bb129afc2e2560b.tar.bz2 drakiso-fcdc9d5967cbf861db391a777bb129afc2e2560b.tar.xz drakiso-fcdc9d5967cbf861db391a777bb129afc2e2560b.zip |
Numerous changes to support building classic installer ISOs:
- rename {media}{source} to {media}{label} and require the user to supply it
o automatically add the LABEL= prefix, rather than removing it
- rename {settings}{name} to {settings}{distro}
- move get_system_root() to ISOBuild - CI builds use it as the urpmi-root
- add new requirements in Config::check_config()
- rename build_live_iso() to build_iso() and support CI builds
o make output to file non-optional - we always want a file
o add the DATE.txt file to the ISO image
- modify prepare_iso_bootloader to support CI boot menus
Diffstat (limited to 'lib/MGA/DrakISO/LiveBuild.pm')
-rw-r--r-- | lib/MGA/DrakISO/LiveBuild.pm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/MGA/DrakISO/LiveBuild.pm b/lib/MGA/DrakISO/LiveBuild.pm index 67561d2..7a0c006 100644 --- a/lib/MGA/DrakISO/LiveBuild.pm +++ b/lib/MGA/DrakISO/LiveBuild.pm @@ -41,7 +41,7 @@ sub new { sub default_name_fields { my ($build) = @_; - [ qw(name version product desktop), + [ qw(distro version product desktop), if_($build->{settings}{region} ne 'all', $build->{settings}{region}), qw(arch media) ]; @@ -55,11 +55,6 @@ sub get_langs { ); } -sub get_system_root { - my ($build) = @_; - $build->{settings}{chroot} . '/' . $build->get_name . $build->get_set_suffix; -} - sub find_kernel { my ($build) = @_; require bootloader; |