- Timestamp:
- 04/09/2017 10:29:32 AM (7 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- cee84ad
- Parents:
- 909ee37
- Location:
- common
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_book_parser
r909ee37 r945ccaa 165 165 popd > /dev/null 166 166 167 xsltproc --nonet \ 168 --xinclude \ 169 --stringparam revision $INITSYS \ 170 --stringparam testsuite $TEST \ 171 --stringparam bomb-testsuite $BOMB_TEST \ 172 --stringparam vim-lang $VIMLANG \ 173 --stringparam full-locale $FULL_LOCALE \ 174 --stringparam timezone $TIMEZONE \ 175 --stringparam page $PAGE \ 176 --stringparam lang $LANG \ 177 --stringparam pkgmngt $PKGMNGT \ 178 --output ./${PROGNAME}-commands/ \ 179 $XSL \ 167 xsltproc --nonet \ 168 --xinclude \ 169 --stringparam revision $INITSYS \ 170 --stringparam testsuite $TEST \ 171 --stringparam bomb-testsuite $BOMB_TEST \ 172 --stringparam vim-lang $VIMLANG \ 173 --stringparam full-locale $FULL_LOCALE \ 174 --stringparam timezone $TIMEZONE \ 175 --stringparam page $PAGE \ 176 --stringparam lang $LANG \ 177 --stringparam pkgmngt $PKGMNGT \ 178 --stringparam wrap-install $WRAP_INSTALL \ 179 --stringparam hostname $HOSTNAME \ 180 --stringparam interface $INTERFACE \ 181 --stringparam ip $IP_ADDR \ 182 --stringparam gateway $GATEWAY \ 183 --stringparam prefix $PREFIX \ 184 --stringparam broadcast $BROADCAST \ 185 --stringparam domain $DOMAIN \ 186 --stringparam nameserver1 $DNS1 \ 187 --stringparam nameserver2 $DNS2 \ 188 --output ./${PROGNAME}-commands/ \ 189 $XSL \ 180 190 $BOOK/index.xml >> $LOGDIR/$LOG 2>&1 181 191 ;; -
common/libs/func_install_blfs
r909ee37 r945ccaa 13 13 cp $COMMON_DIR/progress_bar.sh ${BUILDDIR}${BLFS_ROOT} 14 14 cp README.BLFS ${BUILDDIR}${BLFS_ROOT} 15 if [ "$WRAP_INSTALL" = y ]; then 16 sed -e 's/PKGDIR/UNPACKDIR/' \ 17 -e 's/PKG_DEST/PKG_DIR/' \ 18 $PKGMNGTDIR/packInstall.sh > ${BUILDDIR}${BLFS_ROOT}/packInstall.sh 19 fi 15 20 16 21 # Clean-up … … 116 121 optDependency=2 117 122 SUDO=n 123 WRAP_INSTALL=$WRAP_INSTALL 118 124 EOF 119 125 -
common/libs/func_validate_configs.sh
r909ee37 r945ccaa 42 42 43 43 # Build Settings by book 44 local -r LFS_build="$BUILD_chroot VIMLANG $BUILD_common PKGMNGT FULL_LOCALE "44 local -r LFS_build="$BUILD_chroot VIMLANG $BUILD_common PKGMNGT FULL_LOCALE WRAP_INSTALL" 45 45 local -r HLFS_build="$BUILD_chroot $BUILD_common" 46 46 local -r CLFS_build="$BUILD_chroot VIMLANG $BUILD_common" … … 48 48 local -r CLFS3_build=" $BUILD_common" 49 49 50 # System Settings by book (only LFS for now) 51 local -r LFS_system="HOSTNAME INTERFACE IP_ADDR GATEWAY PREFIX BROADCAST DOMAIN DNS1 DNS2 FONT CONSOLE_MAP UNICODE KEYMAP" 52 50 53 # Full list of books settings 51 local -r lfs_PARAM_LIST="$LFS_book $GENERAL_common $LFS_build $ADVANCED_chroot $ADVANCED_common"54 local -r lfs_PARAM_LIST="$LFS_book $GENERAL_common $LFS_build $LFS_system $ADVANCED_chroot $ADVANCED_common" 52 55 local -r hlfs_PARAM_LIST="$HLFS_book $GENERAL_common $HLFS_build $ADVANCED_chroot $ADVANCED_common" 53 56 local -r clfs_PARAM_LIST="$CLFS_book $GENERAL_common $CLFS_build $ADVANCED_chroot $ADVANCED_common" … … 194 197 ;; 195 198 199 # Treatment of HOSTNAME 200 HOSTNAME) echo -e "`eval echo $PARAM_VALS`" 201 [[ "${!config_param}" = "**EDIT ME**" ]] && write_error_and_die 202 ;; 203 196 204 # Case of PKGMNGT: two files, packageManager.xml and packInstall.sh 197 205 # must exist in $PKGMNGTDIR if PKGMNGT='y': -
common/makefile-functions
r909ee37 r945ccaa 116 116 echo "source packInstall.sh" >> envars; \ 117 117 echo "export -f packInstall" >> envars; \ 118 echo "export -f wrapInstall" >> envars; \ 118 119 fi; 119 120 endef
Note:
See TracChangeset
for help on using the changeset viewer.