[oe-commits] Klaus Kurzmann : opkg: Do not run opkg-cl configure everytime.
git version control
git at git.openembedded.org
Wed Jun 3 20:30:19 UTC 2009
Module: openembedded.git
Branch: fso/milestone5.5
Commit: 520abbe88e61e992ec624a5ab2712903c87ededb
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=520abbe88e61e992ec624a5ab2712903c87ededb
Author: Klaus Kurzmann <mok at fluxnetz.de>
Date: Sat Dec 13 10:40:48 2008 +0100
opkg: Do not run opkg-cl configure everytime.
Author: Chia-I Wu <olv at openmoko.com>
Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>
---
recipes/opkg/opkg_svn.bb | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/recipes/opkg/opkg_svn.bb b/recipes/opkg/opkg_svn.bb
index 4cf1c5c..c37b98e 100644
--- a/recipes/opkg/opkg_svn.bb
+++ b/recipes/opkg/opkg_svn.bb
@@ -18,7 +18,9 @@ if [ "x$D" != "x" ]; then
install -d $D${sysconfdir}/rcS.d
# this happens at S98 where our good 'ole packages script used to run
echo "#!/bin/sh
-opkg-cl configure
+if ! test -f /etc/.configured; then
+ opkg-cl configure
+fi
rm -f ${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure
" > $D${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure
chmod 0755 $D${sysconfdir}/rcS.d/S${OPKG_INIT_POSITION}configure
More information about the Openembedded-commits
mailing list