From: Koen Kooi Date: Wed, 11 Nov 2009 07:42:35 +0000 (+0100) Subject: cups: fix do_package, do_stage is still broken X-Git-Tag: Release-2010-05/1~1728^2~19^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e35ee58bba13381869e2e67d107b7d0c0e9d584;p=openembedded.git cups: fix do_package, do_stage is still broken --- diff --git a/recipes/cups/cups.inc b/recipes/cups/cups.inc index 006e6a3250..642595d48f 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() {