X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fcis-module-init-tools;h=901beab7dc5390fded3685bbec8c663b52c84da2;hb=d9a5344c1aa683d051d1a1d5e87f0bba317e299a;hp=d6ebb52dce5d5b891942ce7ee1826d393936f078;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/cis-module-init-tools b/stage2/cis-module-init-tools index d6ebb52..901beab 100755 --- a/stage2/cis-module-init-tools +++ b/stage2/cis-module-init-tools @@ -1,4 +1,6 @@ -#!/bin/sh +#!/bin/bash +set -o errexit + # First argument of this script is the package name # Reading system configuration informations, functions and package versions. @@ -7,19 +9,19 @@ source ../functions source ../packages-list # Applying patches (if any) -apply_patches ${1} && +apply_patches ${1} # --enable-zlib: To handle compressed kernel modules. -cd ${LFS_TMP}/${1}-build && +cd ${LFS_TMP}/${1}-build ../${1}/configure \ --prefix=/ \ - --enable-zlib && -make -j ${MAKEJOBS} && -make INSTALL=install install && + --enable-zlib \ + --mandir=/usr/share/man +make -j ${MAKEJOBS} +make INSTALL=install install cat > /etc/modprobe.conf << "EOF" # modprobe.conf EOF -# Return last error exit $?