Changeset 14bcaee
- Timestamp:
- 03/20/2017 02:12:25 PM (8 years ago)
- Branches:
- new_features
- Children:
- 89b7cce
- Parents:
- 76cf25f
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/xsl/scripts.xsl
r76cf25f r14bcaee 152 152 UNPACKDIR=$PKG_DIR-build 153 153 mkdir $UNPACKDIR 154 cp $PACKAGE $UNPACKDIR 154 cp $SRC_DIR/$PACKAGE $UNPACKDIR 155 cp $(find . -mindepth 1 -maxdepth 1 -type l) $UNPACKDIR 155 156 ;; 156 157 esac -
common/libs/func_install_blfs
r76cf25f r14bcaee 193 193 -i $BUILDDIR$BLFS_ROOT/scripts/*lynx 194 194 fi 195 fi196 # The book instructions for CA certificates suppose that the cerdata.txt197 # file is in the same directory as make-ca.sh-<version>. This is not the198 # case with our default instructions. Just remove the "cd $UNPACKDIR" here.199 if test -f $BUILDDIR$BLFS_ROOT/scripts/*cacerts; then200 sed -i '/cd \$UNPACKDIR/d' $BUILDDIR$BLFS_ROOT/scripts/*cacerts201 195 fi 202 196 # At last generates the build Makefile -
common/libs/func_validate_configs.sh
r76cf25f r14bcaee 80 80 echo -e "`eval echo ${ERROR_MSG_pt1}`" >&2 81 81 echo -e "`eval echo ${ERROR_MSG_pt2}`" >&2 82 echo -e "${DD_BORDER}\n" 83 exit 1 84 } 85 86 # This function is only used when testing package management files. 87 write_pkg_and_die() { 88 echo -e "\n${DD_BORDER}" 89 echo "Package management is requested but" >&2 90 echo -e $* >&2 82 91 echo -e "${DD_BORDER}\n" 83 92 exit 1 … … 193 202 ;; 194 203 204 # Case of PKGMNGT: two files, packageManager.xml and packInstall.sh 205 # must exist in $PKGMNGTDIR: 206 PKGMNGT) echo -e "`eval echo $PARAM_VALS`" 207 if [ ! -e "$PKGMNGTDIR/packageManager.xml" ]; then 208 write_pkg_and_die $PKGMNGTDIR/packageManager.xml does not exist 209 fi 210 if [ ! -e "$PKGMNGTDIR/packInstall.sh" ]; then 211 write_pkg_and_die $PKGMNGTDIR/packInstall.sh does not exist 212 fi 213 if [ ! -s "$PKGMNGTDIR/packageManager.xml" ]; then 214 write_pkg_and_die $PKGMNGTDIR/packageManager.xml has zero size 215 fi 216 if [ ! -s "$PKGMNGTDIR/packInstall.sh" ]; then 217 write_pkg_and_die $PKGMNGTDIR/packInstall.sh has zero size 218 fi 219 if [ ! -r "$PKGMNGTDIR/packageManager.xml" ]; then 220 write_pkg_and_die $PKGMNGTDIR/packageManager.xml is not readable 221 fi 222 if [ ! -r "$PKGMNGTDIR/packInstall.sh" ]; then 223 write_pkg_and_die $PKGMNGTDIR/packInstall.sh is not readable 224 fi 225 ;; 195 226 # Display non-validated envars found in ${PROGNAME}_PARAM_LIST 196 227 * ) echo -e "`eval echo $PARAM_VALS`" ;; -
jhalfs
r76cf25f r14bcaee 385 385 386 386 # Copy packageManager.xml, if needed 387 [[ "$PKGMNGT" = "y" ]] && [[ "$PROGNAME" = "lfs" ]] && 388 cp $PKGMNGTDIR/packageManager.xml $JHALFSDIR/ &&387 [[ "$PKGMNGT" = "y" ]] && [[ "$PROGNAME" = "lfs" ]] && { 388 cp $PKGMNGTDIR/packageManager.xml $JHALFSDIR/ 389 389 cp $PKGMNGTDIR/packInstall.sh $JHALFSDIR/ 390 } 390 391 # 391 392 # Copy urls.xsl, if needed
Note:
See TracChangeset
for help on using the changeset viewer.