busybox: link /etc/hostname to /proc/sys/kernel/hostname

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-02-11 14:14:53 +01:00
parent 345f9a3b8d
commit a0dc5ead21

View File

@ -59,7 +59,7 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw -m sha512 $USER_PASSWORD`"
ln -sf /proc/self/mounts $INSTALL/etc/mtab ln -sf /proc/self/mounts $INSTALL/etc/mtab
# create /etc/hostname # create /etc/hostname
echo $HOSTNAME > $INSTALL/etc/hostname ln -sf /proc/sys/kernel/hostname $INSTALL/etc/hostname
mkdir -p $INSTALL/etc/modprobe.d mkdir -p $INSTALL/etc/modprobe.d
cp $PKG_DIR/modprobe.d/* $INSTALL/etc/modprobe.d cp $PKG_DIR/modprobe.d/* $INSTALL/etc/modprobe.d