diff options
Diffstat (limited to 'boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm')
-rw-r--r-- | boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm b/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm index 6de04314..3c012ce2 100644 --- a/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm +++ b/boot-env/OpenSLX/MakeInitRamFS/Engine/Preboot.pm @@ -37,7 +37,7 @@ sub _collectCMDs $self->_writeSlxSystemConf(); $self->_copyUclibcRootfs(); - $self->_copyVariantSpecificFiles(); + $self->_copyPrebootSpecificFiles(); $self->{distro}->applyChanges($self); @@ -127,4 +127,16 @@ sub _copyUclibcRootfs return 1; } +sub _copyPrebootSpecificFiles +{ + my $self = shift; + + # write secondary rootfs-layer (including init) on top of base layer + my $prebootRootfs + = "$openslxConfig{'base-path'}/share/boot-env/preboot/uclib-rootfs"; + $self->addCMD("rsync -rlpt $prebootRootfs/ $self->{'build-path'}"); + + return 1; +} + 1; |