X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fmodule-init-tools;h=e7b8c1dc757ef0fba9bba7977aec65f29291ae67;hb=45772460c845b10a51eda6db02496c7967cda377;hp=a7d9c13978542e996af4dcb171561286e3b1c896;hpb=1eb363044c6ee3115e62736aed4403b750082b44;p=hvlinux.git diff --git a/stage2/pkg/module-init-tools b/stage2/pkg/module-init-tools index a7d9c13..e7b8c1d 100644 --- a/stage2/pkg/module-init-tools +++ b/stage2/pkg/module-init-tools @@ -2,16 +2,22 @@ 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 + # --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} DOCBOOKTOMAN="" + make # INSTALL=install # Normally, make install will not install the binaries if they already