summaryrefslogtreecommitdiffstats
path: root/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm
diff options
context:
space:
mode:
authorAlexander Hoppe2009-08-26 15:37:49 +0200
committerAlexander Hoppe2009-08-26 15:37:49 +0200
commit252535d478f27f05153edc13d1afae91abb7a374 (patch)
tree76655235a06ad451b791060550c0dfb681f6fc2d /boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm
parentFix for suse local kernel version mismatch (diff)
downloadcore-252535d478f27f05153edc13d1afae91abb7a374.tar.gz
core-252535d478f27f05153edc13d1afae91abb7a374.tar.xz
core-252535d478f27f05153edc13d1afae91abb7a374.zip
function for firmwares to be copied to /lib/firmware and attribute ramfs_firmmods
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@3133 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm')
-rw-r--r--boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm b/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm
index 3c012ce2..5605df62 100644
--- a/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm
+++ b/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm
@@ -43,6 +43,8 @@ sub _collectCMDs
$self->_copyKernelModules();
+ $self->_copyFirmware();
+
$self->_createInitRamFS();
return;
@@ -91,6 +93,7 @@ sub _writeInitramfsSetup
'host_name' => 'slx-client', # just to have something at all
'ramfs_miscmods' => $self->{attrs}->{ramfs_miscmods} || '',
'ramfs_nicmods' => $self->{attrs}->{ramfs_nicmods} || '',
+ 'ramfs_firmmods' => $self->{attrs}->{ramfs_firmmods} || '',
'preboot_id' => $self->{'preboot-id'} || '',
'boot_uri' => $self->{'boot-uri'} || '',
};