[oe-commits] Koen Kooi : cups: fix do_package, do_stage is still broken

git version control git at git.openembedded.org
Wed Nov 11 09:41:27 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 7e35ee58bba13381869e2e67d107b7d0c0e9d584
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7e35ee58bba13381869e2e67d107b7d0c0e9d584

Author: Koen Kooi <koen at openembedded.org>
Date:   Wed Nov 11 08:42:35 2009 +0100

cups: fix do_package, do_stage is still broken

---

 recipes/cups/cups.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/cups/cups.inc b/recipes/cups/cups.inc
index 006e6a3..642595d 100644
--- a/recipes/cups/cups.inc
+++ b/recipes/cups/cups.inc
@@ -61,8 +61,8 @@ do_stage () {
 
 python do_package_append() {
 	# Change permissions back the way they were, they probably had a reason...
-	workdir = bb.data.getVar('WORKDIR', d, 1)
-	os.system('chmod 0511 %s/install/cups/var/run/cups/certs' % workdir)
+	pkgdest = bb.data.getVar('PKGDEST', d, 1)
+	os.system('chmod 0511 %s/cups/var/run/cups/certs' % pkgdest)
 }
 
 do_stage_append() {





More information about the Openembedded-commits mailing list