diff options
author | Oliver Tappe | 2008-09-01 14:49:22 +0200 |
---|---|---|
committer | Oliver Tappe | 2008-09-01 14:49:22 +0200 |
commit | 3f9ac80c20bc3d9f800bee015fc75ec9af9e7a73 (patch) | |
tree | 20bc68922e0b2f85f82ab4585b48ff244221c4bd /boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm | |
parent | * dropped several files that we do not need from our uclib-rootfs (diff) | |
download | core-3f9ac80c20bc3d9f800bee015fc75ec9af9e7a73.tar.gz core-3f9ac80c20bc3d9f800bee015fc75ec9af9e7a73.tar.xz core-3f9ac80c20bc3d9f800bee015fc75ec9af9e7a73.zip |
* cleanup of uclib-roofs filter
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2173 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm')
-rw-r--r-- | boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm b/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm index c220d127..8e020e3d 100644 --- a/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm +++ b/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm @@ -73,7 +73,8 @@ sub _setupBuildPath lib mnt proc - root + root + sbin sys tmp usr/share @@ -84,7 +85,6 @@ sub _setupBuildPath $self->addCMD( 'mkdir -p ' . join(' ', map { "$buildPath/$_"; } @stdFolders) ); - $self->addCMD("ln -sfn /bin $buildPath/sbin"); $self->{'build-path'} = $buildPath; @@ -123,16 +123,16 @@ sub _copyUclibcRootfs my @excludes = qw( dialog - infocmp kexec libcurses.so* - libform.so* - libmenu.so* libncurses.so* - libpanel.so* mconf - tack tick toe tput tset ); + + # exclude strace unless this system is in debug mode + if (!$self->{'debug-level'}) { + push @excludes, 'strace'; + } my $exclOpts = join ' ', map { "--exclude $_" } @excludes; |