busybox-initramfs: move to packages/initramfs

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-05-18 01:14:34 +02:00
parent 8ae68fc253
commit 6d657762f4
5 changed files with 14 additions and 8 deletions

View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.18.0
# Tue Nov 23 18:27:38 2010
# Busybox version: 1.18.4
# Tue May 17 21:21:08 2011
#
CONFIG_HAVE_DOT_CONFIG=y
@ -54,7 +54,7 @@ CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe"
#
# Build Options
#
CONFIG_STATIC=y
# CONFIG_STATIC is not set
# CONFIG_PIE is not set
# CONFIG_NOMMU is not set
# CONFIG_BUILD_LIBBUSYBOX is not set

View File

@ -22,11 +22,17 @@
. config/options $1
$SCRIPTS/unpack linux
$SCRIPTS/install plymouth-lite
mkdir -p $INSTALL
cp -PR $BUILD/busybox*/_install-initramfs/* $INSTALL
mkdir -p $INSTALL/bin
cp -PR $BUILD/busybox*/_install-initramfs/bin/busybox $INSTALL/bin
ln -sf busybox $INSTALL/bin/sh
chmod 4755 $INSTALL/bin/busybox
mkdir -p $INSTALL/dev
mkdir -p $INSTALL/proc
mkdir -p $INSTALL/sys
mkdir -p $INSTALL/flash
mkdir -p $INSTALL/sysroot
mkdir -p $INSTALL/storage
cp $PKG_DIR/scripts/init $INSTALL
chmod 755 $INSTALL/init