configuration of timezone needed in userspace

This commit is contained in:
Stephan Raue 2009-08-02 23:57:45 +02:00
parent 596a4c74f3
commit 80e83e12d4

View File

@ -16,7 +16,6 @@ cd $PKG_BUILD
# Build Busybox for initramfs # Build Busybox for initramfs
make distclean make distclean
cp $ROOT/$PKG_DIR/config/$1-initramfs.conf .config cp $ROOT/$PKG_DIR/config/$1-initramfs.conf .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 make oldconfig
ARCH=$TARGET_ARCH make install ARCH=$TARGET_ARCH make install
@ -24,6 +23,7 @@ cd $PKG_BUILD
# Build Busybox for system # Build Busybox for system
make distclean make distclean
cp $BUSYBOX_CFG_FILE .config 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 make oldconfig
ARCH=$TARGET_ARCH make install ARCH=$TARGET_ARCH make install