X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fglibc;h=35c8625ca6014e9cea9d88fbf804fd7135ba17e0;hb=1b3f334af67c84997f7b5e6dee56faf556f0ea4b;hp=b98c28236193a5137a3db1b57a9dd9227d08c49f;hpb=b99ee4fadea43f239cf2df146fb93bfc95bd783e;p=hvlinux.git diff --git a/stage2/pkg/glibc b/stage2/pkg/glibc index b98c282..35c8625 100644 --- a/stage2/pkg/glibc +++ b/stage2/pkg/glibc @@ -7,12 +7,10 @@ hvconfig_pre() # needed by other packages. CONFIGURE_OPTS+=" \ --disable-profile \ - --enable-kernel=$(get_pkg_ver ${KERNEL}) \ + --enable-kernel=$(get_pkg_ver1 ${KERNEL}).0.0 \ --enable-obsolete-rpc \ --libexecdir=/usr/lib/glibc" - cd ${LFS_TMP}/${PACKAGE} - # When running make install, a script called test-installation.pl performs a # small sanity test on our newly installed Glibc. However, because our # toolchain still points to the /tools directory, the sanity test would be @@ -21,15 +19,13 @@ hvconfig_pre() LINKER=$(readelf -l /tools/bin/bash | \ sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p') sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \ - scripts/test-installation.pl + ${SRC_DIR}/scripts/test-installation.pl unset LINKER - cd ${LFS_TMP}/${PACKAGE}-build - case "${HVL_TARGET}" in "x86_64") # Tell glibc to install its libraries into /lib: - echo "slibdir=/lib" >> configparms + echo "slibdir=/lib" >> ${BUILD_DIR}/configparms CONFIGURE_OPTS+=" --libdir=/usr/lib" ;; esac @@ -73,7 +69,7 @@ hvbuild() esac # Install the configuration file and runtime directory for nscd: - cp -v ${LFS_TMP}/${PACKAGE}/nscd/nscd.conf /etc/nscd.conf + cp -v ${SRC_DIR}/nscd/nscd.conf /etc/nscd.conf mkdir -pv /var/cache/nscd # The following instructions, instead of the install-locales target