Magellan Linux

Diff of /trunk/mage-buildserver/helper/buildserver-build-install-prerequisites.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3112 by niro, Wed Feb 3 11:56:20 2016 UTC revision 3113 by niro, Tue Mar 19 16:12:08 2019 UTC
# Line 95  do Line 95  do
95  done  done
96    
97  # create build info dir  # create build info dir
98  install -d ${BUILDSERVER_CACHE_DIR}/build  install -d ${BUILDSERVER_CACHE_DIR}/build/${PNAME}
99    
100  if [ ! -f ${BUILDSERVER_CACHE_DIR}/build/${PNAME}-${PVER}-${PBUILD}/INSTALL_DEPS ]  if [ ! -f ${BUILDSERVER_CACHE_DIR}/build/${PNAME}/${PNAME}-${PVER}-${PBUILD}/INSTALL_DEPS ]
101  then  then
102   die "${BUILDSERVER_CACHE_DIR}/build/${PNAME}-${PVER}-${PBUILD}/INSTALL_DEPS missing. run 'buildserver-build-depends first"   die "${BUILDSERVER_CACHE_DIR}/build/${PNAME}/${PNAME}-${PVER}-${PBUILD}/INSTALL_DEPS missing. run 'buildserver-build-depends first"
103  fi  fi
104    
105  if [ ! -f ${BUILDSERVER_CACHE_DIR}/build/${PNAME}-${PVER}-${PBUILD}/SRC_INSTALL_DEPS ]  if [ ! -f ${BUILDSERVER_CACHE_DIR}/build/${PNAME}/${PNAME}-${PVER}-${PBUILD}/SRC_INSTALL_DEPS ]
106  then  then
107   die "${BUILDSERVER_CACHE_DIR}/build/${PNAME}-${PVER}-${PBUILD}/SRC_INSTALL_DEPS missing. run 'buildserver-build-depends first"   die "${BUILDSERVER_CACHE_DIR}/build/${PNAME}/${PNAME}-${PVER}-${PBUILD}/SRC_INSTALL_DEPS missing. run 'buildserver-build-depends first"
108  fi  fi
109    
110  INSTALL_DEPS="$(< ${BUILDSERVER_CACHE_DIR}/build/${PNAME}-${PVER}-${PBUILD}/INSTALL_DEPS)"  INSTALL_DEPS="$(< ${BUILDSERVER_CACHE_DIR}/build/${PNAME}/${PNAME}-${PVER}-${PBUILD}/INSTALL_DEPS)"
111  SRC_INSTALL_DEPS="$(< ${BUILDSERVER_CACHE_DIR}/build/${PNAME}-${PVER}-${PBUILD}/SRC_INSTALL_DEPS)"  SRC_INSTALL_DEPS="$(< ${BUILDSERVER_CACHE_DIR}/build/${PNAME}/${PNAME}-${PVER}-${PBUILD}/SRC_INSTALL_DEPS)"
112    
113  if [[ -z ${SRC_INSTALL_DEPS} ]]  if [[ -z ${SRC_INSTALL_DEPS} ]]
114  then  then
# Line 159  echo "running etc-update" Line 159  echo "running etc-update"
159  echo "-5" | etc-update  echo "-5" | etc-update
160    
161  # mark prerequisites as installed  # mark prerequisites as installed
162  touch ${BUILDSERVER_CACHE_DIR}/build/${PNAME}-${PVER}-${PBUILD}/INSTALLED_PREREQUISITES  touch ${BUILDSERVER_CACHE_DIR}/build/${PNAME}/${PNAME}-${PVER}-${PBUILD}/INSTALLED_PREREQUISITES

Legend:
Removed from v.3112  
changed lines
  Added in v.3113