summaryrefslogtreecommitdiffstats
path: root/boot-env/OpenSLX/BootEnvironment/Base.pm
diff options
context:
space:
mode:
Diffstat (limited to 'boot-env/OpenSLX/BootEnvironment/Base.pm')
-rw-r--r--boot-env/OpenSLX/BootEnvironment/Base.pm51
1 files changed, 51 insertions, 0 deletions
diff --git a/boot-env/OpenSLX/BootEnvironment/Base.pm b/boot-env/OpenSLX/BootEnvironment/Base.pm
new file mode 100644
index 00000000..3fa22666
--- /dev/null
+++ b/boot-env/OpenSLX/BootEnvironment/Base.pm
@@ -0,0 +1,51 @@
+# Copyright (c) 2008 - OpenSLX GmbH
+#
+# This program is free software distributed under the GPL version 2.
+# See http://openslx.org/COPYING
+#
+# If you have any feedback please consult http://openslx.org/feedback and
+# send your suggestions, praise, or complaints to feedback@openslx.org
+#
+# General information about OpenSLX can be found at http://openslx.org/
+# -----------------------------------------------------------------------------
+# BootEnvironment::Base.pm
+# - provides empty base of the BootEnvironment API.
+# -----------------------------------------------------------------------------
+package OpenSLX::BootEnvironment::Base;
+
+use strict;
+use warnings;
+
+our $VERSION = 1.01; # API-version . implementation-version
+
+use OpenSLX::Basics;
+use OpenSLX::ConfigDB;
+
+sub new
+{
+ my $class = shift;
+
+ my $self = {};
+
+ return bless $self, $class;
+}
+
+sub initialize
+{
+ my $self = shift;
+ my $params = shift;
+
+ $self->{'build-path'} = $params->{'build-path'};
+ $self->{'dry-run'} = $params->{'dry-run'};
+
+ return 1;
+}
+
+sub prepareBootloaderConfigFolder
+{
+ my $self = shift;
+
+ return;
+}
+
+1;