summaryrefslogtreecommitdiffstats
path: root/boot-env/OpenSLX/MakeInitRamFS
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-02-11 00:46:25 +0100
committerDirk von Suchodoletz2010-02-11 00:46:25 +0100
commit5acd1dfa75dbd26cf313f98bc32e2557616accf9 (patch)
tree9de6a893ae976c31a51342e29348996433ab4cf2 /boot-env/OpenSLX/MakeInitRamFS
parentCleaning up the runlevel mess of vmware plugin ... Not finished yet. (diff)
parentadd support for event config output (diff)
downloadcore-5acd1dfa75dbd26cf313f98bc32e2557616accf9.tar.gz
core-5acd1dfa75dbd26cf313f98bc32e2557616accf9.tar.xz
core-5acd1dfa75dbd26cf313f98bc32e2557616accf9.zip
Merge branch 'master' of openslx.org:openslx/core
Diffstat (limited to 'boot-env/OpenSLX/MakeInitRamFS')
-rw-r--r--boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm b/boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm
index a4a984e9..ca4764ca 100644
--- a/boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm
+++ b/boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm
@@ -240,6 +240,10 @@ sub _copyKernelModules
push @kernelModules, split ' ', $self->{attrs}->{ramfs_miscmods};
push @kernelModules, split ' ', $self->{attrs}->{ramfs_nicmods};
+ if ($self->{attrs}->{ramfs_nicmods} =~ m{virtio}i) {
+ push @kernelModules, qw( virtio_pci virtio_net );
+ }
+
# a function that determines dependent modules recursively
my $addDependentsSub;
$addDependentsSub = sub {