diff options
author | Oliver Tappe | 2008-05-28 23:43:39 +0200 |
---|---|---|
committer | Oliver Tappe | 2008-05-28 23:43:39 +0200 |
commit | 406e29aff82181197bf7f2d1d34bd7ea2b2bbb7c (patch) | |
tree | f4505d0216215972390e9b2f403a606f11f9b82d /boot-env/OpenSLX/BootEnvironment/Base.pm | |
parent | * cosmetics: print filename of kernel instead of full path in warning that is (diff) | |
download | core-406e29aff82181197bf7f2d1d34bd7ea2b2bbb7c.tar.gz core-406e29aff82181197bf7f2d1d34bd7ea2b2bbb7c.tar.xz core-406e29aff82181197bf7f2d1d34bd7ea2b2bbb7c.zip |
preparations to support cdboot as a second boot type for clients
* refactored PXE specific stuff out of slxconfig-demuxer and moved it into
a separate class (OpenSLX::BootEnvironment::PXE)
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1809 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'boot-env/OpenSLX/BootEnvironment/Base.pm')
-rw-r--r-- | boot-env/OpenSLX/BootEnvironment/Base.pm | 51 |
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; |