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
This commit is contained in:
parent
3378c5d56a
commit
4ab9c749a0
|
@ -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)
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#
|
||||
# Copyright 2006-2007 Openedhand Ltd.
|
||||
#
|
||||
|
||||
do_rootfs[depends] += "dpkg-native:do_populate_staging apt-native:do_populate_staging"
|
||||
|
||||
|
|
Loading…
Reference in New Issue