X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fcis-psmisc;h=9fae28314af8b2dc2c6a67c491568cdc4f3f3ca6;hb=46c7c4e8f98985e982995b4e4f4967abbd72f9a3;hp=acfde6113bd81beee1b975a7d3b8cea4ac6e026b;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/cis-psmisc b/stage2/cis-psmisc index acfde61..9fae283 100755 --- a/stage2/cis-psmisc +++ b/stage2/cis-psmisc @@ -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,22 +9,22 @@ source ../functions source ../packages-list # Applying patches (if any) -apply_patches ${1} && +apply_patches ${1} # By default, Psmisc's pidof program is not installed. This usually is # not a problem because it is installed later in the Sysvinit package, # which provides a better pidof program. -cd ${LFS_TMP}/${1}-build && +cd ${LFS_TMP}/${1}-build ../${1}/configure \ - --prefix=/usr \ - --exec-prefix="" && -make -j ${MAKEJOBS} && -make install && + --prefix=/usr +make -j ${MAKEJOBS} +make install -# There is no reason for the pstree and pstree.x11 programs to reside -# in /bin. Therefore, move them to /usr/bin: -mv -v /bin/pstree* /usr/bin +# By default, Psmisc's pidof program is not installed. This usually is not a +# problem because it is installed later in the Sysvinit package, which provides +# a better pidof program. If Sysvinit will not be used for a particular system, +# complete the installation of Psmisc by creating the following symlink: +#ln -sv killall /bin/pidof -# Return last error exit $?