summaryrefslogtreecommitdiffstats
path: root/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm
diff options
context:
space:
mode:
authorOliver Tappe2008-09-01 14:01:42 +0200
committerOliver Tappe2008-09-01 14:01:42 +0200
commit702efbcf7be3299cce43dfd7a1775e93137362c7 (patch)
tree93199605af66e8088159dd875a8796c5b2f86224 /boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm
parent* implemented automatic run of ldconfig on generated initramfs (diff)
downloadcore-702efbcf7be3299cce43dfd7a1775e93137362c7.tar.gz
core-702efbcf7be3299cce43dfd7a1775e93137362c7.tar.xz
core-702efbcf7be3299cce43dfd7a1775e93137362c7.zip
* added filtering of superfluous files to rsyncing of uclib-rootfs
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2170 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm')
-rw-r--r--boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm17
1 files changed, 16 insertions, 1 deletions
diff --git a/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm b/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm
index a10384b8..650224b7 100644
--- a/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm
+++ b/boot-env/OpenSLX/MakeInitRamFS/Engine/SlxBoot.pm
@@ -123,8 +123,23 @@ sub _copyUclibcRootfs
my $self = shift;
my $uclibcRootfs = "$openslxConfig{'base-path'}/share/uclib-rootfs";
+
+ my @excludes = qw(
+ dialog
+ infocmp
+ kexec
+ libcurses.so*
+ libform.so*
+ libmenu.so*
+ libncurses.so*
+ libpanel.so*
+ mconf
+ tack tick toe tput tset
+ );
+
+ my $exclOpts = join ' ', map { "--exclude $_" } @excludes;
- $self->addCMD("rsync -rlpt $uclibcRootfs/ $self->{'build-path'}");
+ $self->addCMD("rsync $exclOpts -rlpt $uclibcRootfs/ $self->{'build-path'}");
return 1;
}