diff options
Diffstat (limited to 'boot-env/OpenSLX/MakeInitRamFS/Engine/PrebootCD.pm')
-rw-r--r-- | boot-env/OpenSLX/MakeInitRamFS/Engine/PrebootCD.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/boot-env/OpenSLX/MakeInitRamFS/Engine/PrebootCD.pm b/boot-env/OpenSLX/MakeInitRamFS/Engine/PrebootCD.pm index 72d9087d..b5714cdd 100644 --- a/boot-env/OpenSLX/MakeInitRamFS/Engine/PrebootCD.pm +++ b/boot-env/OpenSLX/MakeInitRamFS/Engine/PrebootCD.pm @@ -39,6 +39,7 @@ sub _collectCMDs $self->_writeSlxSystemConf(); $self->_copyUclibcRootfs(); + $self->_copyInit(); $self->{distro}->applyChanges($self); @@ -100,4 +101,14 @@ sub _copyUclibcRootfs return 1; } +sub _copyInit +{ + my $self = shift; + + my $dataDir = "$openslxConfig{'base-path'}/share/boot-env/preboot-cd"; + $self->addCMD("cp $dataDir/init $self->{'build-path'}/"); + + return 1; +} + 1; |