diff --git a/packages/sysutils/busybox/install b/packages/sysutils/busybox/install index d9417e21e8..357c6baef4 100755 --- a/packages/sysutils/busybox/install +++ b/packages/sysutils/busybox/install @@ -28,25 +28,28 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`" mkdir -p $INSTALL/etc cp $PKG_DIR/config/profile $INSTALL/etc + + # /etc/fstab is needed by... touch $INSTALL/etc/fstab + + # /etc/resolve.conf must be writeable ln -sf /var/run/resolv.conf $INSTALL/etc/resolv.conf + + # /etc/mtab is needed by udisks etc... ln -sf /proc/mounts $INSTALL/etc/mtab -# create /etc/hostname - echo $HOSTNAME > $INSTALL/etc/hostname + # create /etc/hostname + echo $HOSTNAME > $INSTALL/etc/hostname -# create /etc/hosts file, useful for gethostbyname(localhost) - echo -e "127.0.0.1\tlocalhost $HOSTNAME" > $INSTALL/etc/hosts + # create /etc/hosts file, useful for gethostbyname(localhost) + echo -e "127.0.0.1\tlocalhost $HOSTNAME" > $INSTALL/etc/hosts -# create /etc/issue - echo $GREATING0 > $INSTALL/etc/issue - echo $GREATING1 >> $INSTALL/etc/issue - echo $GREATING2 >> $INSTALL/etc/issue - echo $GREATING3 >> $INSTALL/etc/issue - echo $GREATING4 >> $INSTALL/etc/issue - - mkdir -p $INSTALL/usr/share/udhcpc - cp $PKG_DIR/scripts/udhcp.script $INSTALL/usr/share/udhcpc/default.script + # create /etc/issue + echo $GREATING0 > $INSTALL/etc/issue + echo $GREATING1 >> $INSTALL/etc/issue + echo $GREATING2 >> $INSTALL/etc/issue + echo $GREATING3 >> $INSTALL/etc/issue + echo $GREATING4 >> $INSTALL/etc/issue # acpid specific mkdir -p $INSTALL/etc/acpi/PWRF @@ -55,6 +58,9 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`" mkdir -p $INSTALL/etc/network cp $PKG_DIR/config/interfaces $INSTALL/etc/network + mkdir -p $INSTALL/usr/share/udhcpc + cp $PKG_DIR/scripts/udhcp.script $INSTALL/usr/share/udhcpc/default.script + # we need an full-featured grep and bash for pm-utils, so we install this :-( $SCRIPTS/install grep $SCRIPTS/install bash