Changeset 945ccaa for common


Ignore:
Timestamp:
04/09/2017 10:29:32 AM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
cee84ad
Parents:
909ee37
Message:

Merge the new_features branch (manully, thanks to svn)

Location:
common
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_book_parser

    r909ee37 r945ccaa  
    165165        popd > /dev/null
    166166
    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                                       \
    180190                 $BOOK/index.xml >> $LOGDIR/$LOG 2>&1
    181191      ;;
  • common/libs/func_install_blfs

    r909ee37 r945ccaa  
    1313cp $COMMON_DIR/progress_bar.sh ${BUILDDIR}${BLFS_ROOT}
    1414cp README.BLFS ${BUILDDIR}${BLFS_ROOT}
     15if [ "$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
     19fi
    1520
    1621# Clean-up
     
    116121optDependency=2
    117122SUDO=n
     123WRAP_INSTALL=$WRAP_INSTALL
    118124EOF
    119125
  • common/libs/func_validate_configs.sh

    r909ee37 r945ccaa  
    4242
    4343  # 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"
    4545  local -r  HLFS_build="$BUILD_chroot         $BUILD_common"
    4646  local -r  CLFS_build="$BUILD_chroot VIMLANG $BUILD_common"
     
    4848  local -r CLFS3_build="                      $BUILD_common"
    4949
     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
    5053  # 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"
    5255  local -r  hlfs_PARAM_LIST="$HLFS_book  $GENERAL_common $HLFS_build  $ADVANCED_chroot $ADVANCED_common"
    5356  local -r  clfs_PARAM_LIST="$CLFS_book  $GENERAL_common $CLFS_build  $ADVANCED_chroot $ADVANCED_common"
     
    194197               ;;
    195198
     199        # Treatment of HOSTNAME
     200      HOSTNAME)  echo -e "`eval echo $PARAM_VALS`"
     201                 [[ "${!config_param}" = "**EDIT ME**" ]] && write_error_and_die
     202                 ;;
     203
    196204        # Case of PKGMNGT: two files, packageManager.xml and packInstall.sh
    197205        # must exist in $PKGMNGTDIR if PKGMNGT='y':
  • common/makefile-functions

    r909ee37 r945ccaa  
    116116    echo "source packInstall.sh" >> envars; \
    117117    echo "export -f packInstall" >> envars; \
     118    echo "export -f wrapInstall" >> envars; \
    118119  fi;
    119120endef
Note: See TracChangeset for help on using the changeset viewer.