X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fcis-coreutils;h=a421b6508703ea08ce3f528b0fc355c6c0758ec2;hb=be41960e19c9daee738916df4138559a262ca34a;hp=941ee3861e9a2a9198ed45225f29ee9db592de4a;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/cis-coreutils b/stage2/cis-coreutils index 941ee38..a421b65 100755 --- a/stage2/cis-coreutils +++ b/stage2/cis-coreutils @@ -1,4 +1,6 @@ #!/bin/sh +set -o errexit + # First argument of this script is the package name # Reading system configuration informations, functions and package versions. @@ -7,19 +9,20 @@ source ../functions source ../packages-list # Applying patches (if any) -apply_patches ${1} && +apply_patches ${1} -cd ${LFS_TMP}/${1}-build && +cd ${LFS_TMP}/${1}-build ../${1}/configure \ - --prefix=/usr && -make -j ${MAKEJOBS} && -make install && + --prefix=/usr \ + --enable-no-install-program=kill,uptime +make -j ${MAKEJOBS} +make install # Move some programs to their proper FHS locations: -mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin && -mv -v /usr/bin/{false,hostname,ln,ls,mkdir,mknod,mv,pwd,readlink,rm} /bin && -mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin && -mv -v /usr/bin/chroot /usr/sbin && +mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date,dd,df,echo} /bin +mv -v /usr/bin/{false,ln,ls,mkdir,mknod,mv,pwd,rm} /bin +mv -v /usr/bin/{rmdir,stty,sync,true,uname} /bin +mv -v /usr/bin/chroot /usr/sbin # Some of the scripts in the LFS-Bootscripts package depend on head # sleep and nice. As /usr may not be available during the early stages