mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
- add various needed applets - add pam support - various cleanups - remove init script for setup time - readd init script to start network
26 lines
651 B
Bash
Executable File
26 lines
651 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/build toolchain
|
|
$SCRIPTS/unpack busybox
|
|
$SCRIPTS/build Linux-PAM
|
|
|
|
PKG_DIR=`find $PACKAGES -type d -name $1`
|
|
|
|
if [ -f $PROJECT_DIR/$PROJECT/busybox/$1.conf ]; then
|
|
BUSYBOX_CFG_FILE=$PROJECT_DIR/$PROJECT/busybox/$1.conf
|
|
else
|
|
BUSYBOX_CFG_FILE=$ROOT/$PKG_DIR/config/$1.conf
|
|
fi
|
|
|
|
cd $BUILD/busybox*
|
|
|
|
# Build Busybox for system
|
|
make distclean
|
|
cp $BUSYBOX_CFG_FILE .config
|
|
[ -n "$TIMEZONE" ] && sed -i -e 's/^# CONFIG_HWCLOCK .*$/CONFIG_HWCLOCK=yes/g' -e 's/^# CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS .*/CONFIG_FEATURE_HWCLOCK_LONG_OPTIONS=yes/g' $BUSYBOX/.config
|
|
make oldconfig
|
|
|
|
ARCH=$TARGET_ARCH make install
|