summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Engine.pm
diff options
context:
space:
mode:
authorOliver Tappe2008-05-31 20:53:21 +0200
committerOliver Tappe2008-05-31 20:53:21 +0200
commit272b14501e974b2731bac808265b2b94f48e6071 (patch)
tree826135d7525f9c3fa7261c0dd38c9f60e8be1e21 /installer/OpenSLX/OSSetup/Engine.pm
parentComplete renaming in the main Makefile (for proper installation). (diff)
downloadcore-272b14501e974b2731bac808265b2b94f48e6071.tar.gz
core-272b14501e974b2731bac808265b2b94f48e6071.tar.xz
core-272b14501e974b2731bac808265b2b94f48e6071.zip
* moved code from MakeInitRamFS::Engine that determines the list of available
busybox applets into a separate function * use this function in OSSetup::Engine instead of relying on busybox.links, which may not be kept in sync. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1827 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSSetup/Engine.pm')
-rw-r--r--installer/OpenSLX/OSSetup/Engine.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm
index 86b262d8..2af1c3f1 100644
--- a/installer/OpenSLX/OSSetup/Engine.pm
+++ b/installer/OpenSLX/OSSetup/Engine.pm
@@ -1226,9 +1226,8 @@ sub _stage1A_createBusyboxEnvironment
}
# create all needed links to busybox:
- my $links
- = slurpFile("$openslxConfig{'base-path'}/share/busybox/busybox.links");
- foreach my $linkTarget (split "\n", $links) {
+ my @busyboxApplets = getAvailableBusyboxApplets($self->{'busybox-binary'});
+ foreach my $linkTarget (@busyboxApplets) {
linkFile('/bin/busybox', "$self->{stage1aDir}/$linkTarget");
}
if ($self->_hostIs64Bit()) {