Files
Arch-R/packages/sysutils/busybox-initramfs/install
Stephan Raue 29999a58c7 busybox-initramfs
- change mode from busybox to 4755
- various cleanups
- umount dev before switching root
2009-11-16 07:53:29 +01:00

13 lines
280 B
Bash
Executable File

#!/bin/sh
. config/options
$SCRIPTS/unpack linux
PKG_DIR=`find $PACKAGES -type d -name $1`
mkdir -p $INSTALL/initramfs
cp -PR $BUILD/busybox*/_install-initramfs/* $INSTALL/initramfs
chmod 4755 $INSTALL/initramfs/bin/busybox
cp $PKG_DIR/scripts/init $INSTALL/initramfs