Skip to content

Commit

Permalink
narcissus: disable sleeper script
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 Jan 24, 2011
1 parent 8bdcf5c commit c76482c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/assemble-image.sh
Expand Up @@ -301,7 +301,7 @@ fi
echo "Running preinsts"

for i in ${TARGET_DIR}/usr/lib/opkg/info/*.preinst; do
sh ${PWD}/scripts/sleep.sh
#sh ${PWD}/scripts/sleep.sh
if [ -f $i ] && ! sh $i; then
echo "Running: opkg-cl -o ${TARGET_DIR} -f ${TARGET_DIR}/etc/opkg.conf -t ${OPKG_TMP_DIR} flag unpacked `basename $i .preinst`"
opkg-cl -o ${TARGET_DIR} -f ${TARGET_DIR}/etc/opkg.conf -t ${OPKG_TMP_DIR} flag unpacked `basename $i .preinst`
Expand All @@ -311,7 +311,7 @@ done
echo "Running postinsts"

for i in ${TARGET_DIR}/usr/lib/opkg/info/*.postinst; do
sh ${PWD}/scripts/sleep.sh
#sh ${PWD}/scripts/sleep.sh
if [ -f $i ] && ! sh $i configure; then
echo "Running: opkg-cl -o ${TARGET_DIR} -f ${TARGET_DIR}/etc/opkg.conf -t ${OPKG_TMP_DIR} flag unpacked `basename $i .postinst`"
opkg-cl -o ${TARGET_DIR} -f ${TARGET_DIR}/etc/opkg.conf -t ${OPKG_TMP_DIR} flag unpacked `basename $i .postinst`
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-package.sh
Expand Up @@ -33,7 +33,7 @@ echo $packagelist > ${TARGET_DIR}.txt
echo "installing $packagelist"
for pkg in $packagelist ; do
# Sleep N seconds when the load on the buildserver is too high
sh ${PWD}/scripts/sleep.sh
#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
Expand Down

0 comments on commit c76482c

Please sign in to comment.