diff options
| author | Dirk von Suchodoletz | 2010-02-11 00:46:25 +0100 |
|---|---|---|
| committer | Dirk von Suchodoletz | 2010-02-11 00:46:25 +0100 |
| commit | 5acd1dfa75dbd26cf313f98bc32e2557616accf9 (patch) | |
| tree | 9de6a893ae976c31a51342e29348996433ab4cf2 /boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm | |
| parent | Cleaning up the runlevel mess of vmware plugin ... Not finished yet. (diff) | |
| parent | add support for event config output (diff) | |
| download | core-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/Engine/Base.pm')
| -rw-r--r-- | boot-env/OpenSLX/MakeInitRamFS/Engine/Base.pm | 4 |
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 { |
