X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=stage1%2Fpkg%2Fcoreutils;fp=stage1%2Fpkg%2Fcoreutils;h=c90f4fea401ab3b0ce01d81a781e11250226d7ba;hb=69ac3e7cf686f8e95e47a7ab89bc38796aace488;hp=0000000000000000000000000000000000000000;hpb=f41e274186ffbed8f6bdc4d44da23758c83f1bb9;p=hvlinux.git diff --git a/stage1/pkg/coreutils b/stage1/pkg/coreutils new file mode 100644 index 0000000..c90f4fe --- /dev/null +++ b/stage1/pkg/coreutils @@ -0,0 +1,18 @@ +#!/bin/bash + +# Configure cannot properly determine how to get free space when cross-compiling +# and as a result the df program will not be built. Add the following entries to +# config.cache to correct this, and fix various cross-compiling issues: +config_cache() +{ +cat > ${LFS_TMP}/${PACKAGE}-build/config.cache << EOF +fu_cv_sys_stat_statfs2_bsize=yes +gl_cv_func_working_mkstemp=yes +EOF +} + +configure_pre() +{ + # Fix a bug when the uname patch is automatically applied + touch ${LFS_TMP}/${PACKAGE}/man/{uname,hostname}.1 +}