busybox: add metafile support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-21 23:55:15 +02:00
parent 6662096815
commit e470584437
3 changed files with 14 additions and 11 deletions

View File

@ -2,10 +2,6 @@
. config/options $1
$SCRIPTS/build toolchain
$SCRIPTS/unpack busybox
$SCRIPTS/build Linux-PAM
if [ -f $PROJECT_DIR/$PROJECT/busybox/$1.conf ]; then
BUSYBOX_CFG_FILE=$PROJECT_DIR/$PROJECT/busybox/$1.conf
else

View File

@ -2,9 +2,6 @@
. config/options $1
$SCRIPTS/build busybox-hosttools
$SCRIPTS/install Linux-PAM
ROOT_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $ROOT_PASSWORD`"
USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`"
@ -62,7 +59,3 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`"
mkdir -p $INSTALL/usr/share/udhcpc
cp $PKG_DIR/scripts/udhcp.script $INSTALL/usr/share/udhcpc/default.script
# we need an full-featured grep and bash for pm-utils, so we install this :-(
$SCRIPTS/install grep
$SCRIPTS/install bash

View File

@ -0,0 +1,14 @@
PKG_NAME="busybox"
PKG_VERSION="1.17.0"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.busybox.net"
PKG_URL="http://busybox.net/downloads/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="Linux-PAM grep bash"
PKG_BUILD_DEPENDS="toolchain busybox-hosttools Linux-PAM"
PKG_PRIORITY="required"
PKG_SECTION="system"
PKG_SHORTDESC="BusyBox: The Swiss Army Knife of Embedded Linux"
PKG_LONGDESC="BusyBox combines tiny versions of many common UNIX utilities into a single small executable. It provides replacements for most of the utilities you usually find in GNU fileutils, shellutils, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins; however, the options that are included provide the expected functionality and behave very much like their GNU counterparts. BusyBox provides a fairly complete environment for any small or embedded system."
PKG_IS_ADDON="no"