-Ajout shared libraries Python (stage3).
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Mon, 10 Sep 2012 04:34:50 +0000 (04:34 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Mon, 10 Sep 2012 04:34:50 +0000 (04:34 +0000)
-EmpĂȘche dhclient de modifier /etc/resolv.conf car on installe Bind.

stage2/hv-install-1
stage2/install-hv-utilities
stage2/pkg/dhcp

index 6e576b2..65f9a7d 100755 (executable)
@@ -38,7 +38,7 @@ ipkg ${GCC}
 rscr mult "Testing toolchain" toolchain-test
 ipkg ${SED} "--bindir=/bin"
 ipkg ${LIBFFI}
-ipkg ${PYTHON}
+ipkg ${PYTHON} "--enable-shared"
 # Specify LIBFFI flags because pkg-config is not yet installed:
 LIBFFI_CFLAGS="-I/usr/include" LIBFFI_LIBS="-L/usr/lib -lffi" ipkg ${GLIB}
 ipkg ${PKG_CONFIG}
index 55180b6..2156077 100755 (executable)
@@ -11,7 +11,7 @@ BIN_UTILITIES="camera-download cd-erase cd-copy cgrep pstopdf distro-backup \
                dos2unix dvd-ram-format fix-avi gztobz2 hv-backup hv-video-dvd \
                mail-files mail-if-fail mail-statistics media-write pstopdf \
                replace.pl rotatelogs setdate strip-debug-symbols tarbz2 \
-               tildes-clean vd vs flac2ogg flac2mp3"
+               tildes-clean vd vs vlog flac2ogg flac2mp3"
 
 for program in ${BIN_UTILITIES}; do
     install -v ${SRCDIR}/${program} ${BINDIR}
index 5f640d4..1cb301a 100644 (file)
@@ -41,6 +41,15 @@ EOF
 
     sed -i -e "s!_DOMAIN_!${DOMAIN}!g" /etc/dhclient.conf
 
+    cat > /etc/dhclient-enter-hooks << "EOF"
+# If named is running, do not let dhclient create or modify resolv.conf
+# by specifyng an empty function hook:
+make_resolv_conf(){
+       :
+}
+EOF
+    chmod u+x /etc/dhclient-enter-hooks
+
     cat > /etc/sysconfig/network/dhcp-client << "EOF"
 # dhcp-client
 # DHCP client program informations