X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fmodule-init-tools;h=5a0d77da0207bd4de1e32f3a9c94a8212a10c65c;hb=0364372bf9bf57502160adc0402e38b8ea235c24;hp=08d6a2559553745ed3262637245c66d34dd52efd;hpb=fc8e13fb0303c69abe0ac9eacf6c604b735287b3;p=hvlinux.git diff --git a/stage2/pkg/module-init-tools b/stage2/pkg/module-init-tools index 08d6a25..5a0d77d 100644 --- a/stage2/pkg/module-init-tools +++ b/stage2/pkg/module-init-tools @@ -2,16 +2,24 @@ hvconfig_pre() { + # To avoid a problem with regenerating the man pages when not needed, + # 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="\ - ${CONFIGURE_OPTS} \ - --enable-zlib-dynamic \ - --mandir=/usr/share/man" + --prefix=/usr \ + --bindir=/bin \ + --sbindir=/sbin \ + --sysconfdir=/etc \ + --enable-zlib-dynamic" } hvbuild() { - make -j ${MAKEJOBS} + make # INSTALL=install # Normally, make install will not install the binaries if they already @@ -23,4 +31,6 @@ hvbuild() hvbuild_post() { install -dv ${LFS}/etc/modprobe.d + + unset DOCBOOKTOMAN }