From: gobo72 Date: Sun, 8 Jan 2012 01:54:34 +0000 (+0000) Subject: Corrections erreurs de compilation udev et module-init-tools, et déplacé les éxécutab... X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=781acd83f772630262c2a8ba22c8fe7507801852;p=hvlinux.git Corrections erreurs de compilation udev et module-init-tools, et déplacé les éxécutables de dhcp de /usr/local vers / --- diff --git a/stage2/hv-install-2 b/stage2/hv-install-2 index 824ff26..d9ed780 100755 --- a/stage2/hv-install-2 +++ b/stage2/hv-install-2 @@ -41,7 +41,7 @@ FORCE_UNSAFE_CONFIGURE=1 ipkg ${TAR_PACKAGE} "--bindir=/bin --libexecdir=/usr/sb ipkg ${TEXINFO} ipkg ${UDEV} ipkg ${GRUB} -ipkg -m acnb ${DHCP} +ipkg -m acnb ${DHCP} "--exec-prefix=/" if [ -n "${WIFI_SUPPORT}" ]; then PREFIX=/usr ipkg -m noac -s wireless-tools ${WIRELESS_TOOLS} diff --git a/stage2/pkg/dhcp b/stage2/pkg/dhcp index ce13b4b..391e31f 100644 --- a/stage2/pkg/dhcp +++ b/stage2/pkg/dhcp @@ -1,16 +1,5 @@ #!/bin/bash -hvconfig_pre() -{ - CONFIGURE_OPTS="" -} - -hvbuild() -{ - ${HVMAKE} - ${HVMAKE} LIBDIR=/usr/lib INCDIR=/usr/include install -} - hvbuild_post() { # This is for the DHCP client diff --git a/stage2/pkg/module-init-tools b/stage2/pkg/module-init-tools index e7b8c1d..5a0d77d 100644 --- a/stage2/pkg/module-init-tools +++ b/stage2/pkg/module-init-tools @@ -6,6 +6,8 @@ hvconfig_pre() # first rewrite a file that just points to another man page: echo '.so man5/modprobe.conf.5' > ${LFS_TMP}/${PACKAGE}/modprobe.d.5 + export DOCBOOKTOMAN=/bin/true + # --enable-zlib-dynamic: To handle compressed kernel modules. CONFIGURE_OPTS="\ --prefix=/usr \ @@ -29,4 +31,6 @@ hvbuild() hvbuild_post() { install -dv ${LFS}/etc/modprobe.d + + unset DOCBOOKTOMAN } diff --git a/stage2/pkg/udev b/stage2/pkg/udev index 1cea3cb..aa2c177 100644 --- a/stage2/pkg/udev +++ b/stage2/pkg/udev @@ -2,6 +2,8 @@ hvconfig_pre() { + # --disable-keymap: to remove gperf dependency + CONFIGURE_OPTS="\ ${CONFIGURE_OPTS} \ --sbindir=/sbin \ @@ -9,6 +11,8 @@ hvconfig_pre() --libexecdir=/lib/udev \ --docdir=/usr/share/doc/${PACKAGE} \ --disable-extras \ + --disable-hwdb \ + --disable-keymap \ --disable-introspection" }