Skip to content

Commit

Permalink
narcissus: install packages using pseudo as well
Browse files Browse the repository at this point in the history
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  • Loading branch information
koenkooi committed Feb 27, 2011
1 parent 9bb005b commit b38f0b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/install-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ if [ -e ${TARGET_DIR}/log.txt ] ; then
rm ${TARGET_DIR}/log.txt
fi

export PSEUDO_DISABLED=0

OPKGARGS="${CACHE} -o ${TARGET_DIR} -f ${TARGET_DIR}/etc/opkg.conf"

packagelist="$(echo ${PACKAGE} | tr -d '[~;:]' | sed s:,:\ :g | sort | uniq)"
Expand All @@ -35,8 +37,8 @@ for pkg in $packagelist ; do
# Sleep N seconds when the load on the buildserver is too high
#sh ${PWD}/scripts/sleep.sh

echo "running: opkg-cl ${CACHE} -o ${TARGET_DIR} -f ${TARGET_DIR}/etc/opkg.conf -t ${OPKG_TMP_DIR} install $pkg"
yes | bin/opkg-cl ${CACHE} -o ${TARGET_DIR} -f ${TARGET_DIR}/etc/opkg.conf -t ${OPKG_TMP_DIR} install $pkg | tee ${TARGET_DIR}/log.txt
echo "running: ${FAKEROOT} opkg-cl ${CACHE} -o ${TARGET_DIR} -f ${TARGET_DIR}/etc/opkg.conf -t ${OPKG_TMP_DIR} install $pkg"
yes | ${FAKEROOT} bin/opkg-cl ${CACHE} -o ${TARGET_DIR} -f ${TARGET_DIR}/etc/opkg.conf -t ${OPKG_TMP_DIR} install $pkg | tee ${TARGET_DIR}/log.txt
grep -e "rror oc" -e "ollected er" ${TARGET_DIR}/log.txt
echo "<div id=\"${pkg}-returncode\">$?</div><br/>"
done
Expand Down

0 comments on commit b38f0b9

Please sign in to comment.