From 17bb76984e1c68b26c59014004d3c5074fddee81 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 03 Jun 2013 16:21:31 -0400 Subject: bootstrap-stage1-test.sh: Test opkg. --- diff --git a/bootstrap-stage1-test.sh b/bootstrap-stage1-test.sh index 41f79fa..f0fa609 100755 --- a/bootstrap-stage1-test.sh +++ b/bootstrap-stage1-test.sh @@ -52,7 +52,7 @@ log() test_packages() { - local zlib_upstream_ver + local zlib_upstream_ver opk cd root @@ -70,6 +70,14 @@ test_packages() sudo chroot . gcc -lz -o /fitblk /fitblk.c sudo chroot . /fitblk | grep -F 'fitblk abort' >/dev/null + log 'Testing opkg...' + for opk in ../pkg/*_${ARCH}_${PLAT}.opk ../pkg/*_${ARCH}_all.opk \ + ../pkg/*_all_${PLAT}.opk ../pkg/*_all_all.opk; do + [ -f "${opk}" ] || continue + cp "${opk}" . + done + sudo chroot . sh -c 'opkg install /*.opk' + cd .. } -- cgit v0.9.1