From 4b4b3e37c0025a512df5967ae9e46353caadf6bc Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Fri, 22 Dec 2017 00:29:27 +0000 Subject: Complete support for building classic installer ISOs. --- lib/MGA/DrakISO/ClassicBuild.pm | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 lib/MGA/DrakISO/ClassicBuild.pm (limited to 'lib/MGA/DrakISO/ClassicBuild.pm') 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 +# Copyright (C) 2017 Mageia +# Martin Whitaker +# +# 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; -- cgit v1.2.1