connman: put static resolv.conf in /etc no need for write support anymore

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-30 17:56:55 +01:00
parent d0ef21fadf
commit a20f920d1d
4 changed files with 4 additions and 3 deletions

View File

@ -0,0 +1,2 @@
# Generated by Connection Manager
nameserver 127.0.0.1

View File

@ -115,6 +115,5 @@ fi
# starting Connection manager
progress "starting Connection manager"
touch /var/run/resolv.conf
/usr/sbin/connmand
)&

View File

@ -27,6 +27,7 @@ add_group system 430
mkdir -p $INSTALL/etc
cp $PKG_DIR/config/services $INSTALL/etc
cp $PKG_DIR/config/resolv.conf $INSTALL/etc
mkdir -p $INSTALL/etc/dbus-1/system.d
cp $PKG_BUILD/src/connman.conf $INSTALL/etc/dbus-1/system.d

View File

@ -50,9 +50,8 @@ USER_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $USER_PASSWORD`"
# /etc/fstab is needed by...
touch $INSTALL/etc/fstab
# /etc/resolve.conf and /etc/hosts must be writeable
# /etc/hosts must be writeable
ln -sf /var/cache/hosts $INSTALL/etc/hosts
ln -sf /var/cache/resolv.conf $INSTALL/etc/resolv.conf
# /etc/mtab is needed by udisks etc...
ln -sf /proc/self/mounts $INSTALL/etc/mtab