summaryrefslogtreecommitdiff
path: root/classes/package_deb.bbclass
diff options
context:
space:
mode:
authorMichael Smith <msmith@cbnco.com>2009-07-11 01:31:06 -0400
committerPhil Blundell <philb@gnu.org>2009-07-11 09:29:11 +0100
commitf0d8b8301f8a3c9f8ef73b3d5a876d341b8b3370 (patch)
tree8ec5e5914cabd86521d6521027a3bfbd0aac8e5b /classes/package_deb.bbclass
parente206f3ea9217f3eb2343b2662cb92f5735962ed1 (diff)
package classes: count dotfiles as non-empty
Allow a package to be built that contains only dotfiles or dot directories under '/'. Signed-off-by: Michael Smith <msmith@cbnco.com>
Diffstat (limited to 'classes/package_deb.bbclass')
-rw-r--r--classes/package_deb.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package_deb.bbclass b/classes/package_deb.bbclass
index 5127d32f33..e5339a9064 100644
--- a/classes/package_deb.bbclass
+++ b/classes/package_deb.bbclass
@@ -130,7 +130,7 @@ python do_package_deb () {
os.chdir(root)
from glob import glob
- g = glob('*')
+ g = glob('*') + glob('.[!.]*')
try:
del g[g.index('DEBIAN')]
del g[g.index('./DEBIAN')]