diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-22 00:29:27 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2017-12-22 00:29:27 +0000 |
commit | 4b4b3e37c0025a512df5967ae9e46353caadf6bc (patch) | |
tree | 68c543a60986f3bada47c909b0be609801d8059a /lib/MGA/DrakISO/ClassicBuild.pm | |
parent | fcdc9d5967cbf861db391a777bb129afc2e2560b (diff) | |
download | drakiso-4b4b3e37c0025a512df5967ae9e46353caadf6bc.tar drakiso-4b4b3e37c0025a512df5967ae9e46353caadf6bc.tar.gz drakiso-4b4b3e37c0025a512df5967ae9e46353caadf6bc.tar.bz2 drakiso-4b4b3e37c0025a512df5967ae9e46353caadf6bc.tar.xz drakiso-4b4b3e37c0025a512df5967ae9e46353caadf6bc.zip |
Complete support for building classic installer ISOs.
Diffstat (limited to 'lib/MGA/DrakISO/ClassicBuild.pm')
-rw-r--r-- | lib/MGA/DrakISO/ClassicBuild.pm | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/lib/MGA/DrakISO/ClassicBuild.pm b/lib/MGA/DrakISO/ClassicBuild.pm new file mode 100644 index 0000000..1a435fd --- /dev/null +++ b/lib/MGA/DrakISO/ClassicBuild.pm @@ -0,0 +1,46 @@ +# Copyright (C) 2005 Mandriva +# Olivier Blin <oblin@mandriva.com> +# Copyright (C) 2017 Mageia +# Martin Whitaker <mageia@martin-whitaker.me.uk> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# SYNOPSIS +# -------- +# This package defines the ClassicBuild subclass that is used to hold all the +# settings and configuration values needed to build a classic installer ISO. +# It provides a number of helper functions over and above those provided by +# the ISOBuild superclass. + +package MGA::DrakISO::ClassicBuild; + +use strict; + +use MDK::Common; + +use MGA::DrakISO::ISOBuild; + +our @ISA = qw(MGA::DrakISO::ISOBuild); + +sub new { + my ($class) = @_; + bless {}, $class; +} + +sub default_name_fields { + [ qw(distro version product arch) ]; +} + +1; |