mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
busybox: add metafile support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
6662096815
commit
e470584437
@ -2,10 +2,6 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
$SCRIPTS/build toolchain
|
|
||||||
$SCRIPTS/unpack busybox
|
|
||||||
$SCRIPTS/build Linux-PAM
|
|
||||||
|
|
||||||
if [ -f $PROJECT_DIR/$PROJECT/busybox/$1.conf ]; then
|
if [ -f $PROJECT_DIR/$PROJECT/busybox/$1.conf ]; then
|
||||||
BUSYBOX_CFG_FILE=$PROJECT_DIR/$PROJECT/busybox/$1.conf
|
BUSYBOX_CFG_FILE=$PROJECT_DIR/$PROJECT/busybox/$1.conf
|
||||||
else
|
else
|
||||||
|
@ -2,9 +2,6 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
$SCRIPTS/build busybox-hosttools
|
|
||||||
$SCRIPTS/install Linux-PAM
|
|
||||||
|
|
||||||
ROOT_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $ROOT_PASSWORD`"
|
ROOT_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $ROOT_PASSWORD`"
|
||||||
USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_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
|
mkdir -p $INSTALL/usr/share/udhcpc
|
||||||
cp $PKG_DIR/scripts/udhcp.script $INSTALL/usr/share/udhcpc/default.script
|
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
|
|
||||||
|
14
packages/sysutils/busybox/meta
Normal file
14
packages/sysutils/busybox/meta
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user