diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-07 14:34:33 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-07 14:34:33 +0000 |
commit | 4ab9c749a05a501200755f63d7e153e6bfab9b51 (patch) | |
tree | 78b94ff5d3be3cd4ea202f4d0dd9db088df0894e /meta/classes | |
parent | 3378c5d56a445e57bc6f6c9da0930bd2c26c14f6 (diff) | |
download | openembedded-core-4ab9c749a05a501200755f63d7e153e6bfab9b51.tar.gz openembedded-core-4ab9c749a05a501200755f63d7e153e6bfab9b51.tar.bz2 openembedded-core-4ab9c749a05a501200755f63d7e153e6bfab9b51.zip |
package_deb/rootfs_deb.bbclass: Add fix from OE, add copyright notice
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2377 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package_deb.bbclass | 5 | ||||
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 655c700c3f..9a8db4f8f2 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass @@ -1,3 +1,7 @@ +# +# Copyright 2006-2007 OpenedHand Ltd. +# + inherit package PACKAGE_EXTRA_DEPENDS += "dpkg-native fakeroot-native" @@ -212,6 +216,7 @@ python do_package_deb () { scriptfile = file(os.path.join(controldir, script), 'w') except OSError: raise bb.build.FuncFailed("unable to open %s script file for writing." % script) + scriptfile.write("#!/bin/sh\n") scriptfile.write(scriptvar) scriptfile.close() os.chmod(os.path.join(controldir, script), 0755) diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass index b7a139c02b..67fa661308 100644 --- a/meta/classes/rootfs_deb.bbclass +++ b/meta/classes/rootfs_deb.bbclass @@ -1,3 +1,6 @@ +# +# Copyright 2006-2007 Openedhand Ltd. +# do_rootfs[depends] += "dpkg-native:do_populate_staging apt-native:do_populate_staging" |