From f0d8b8301f8a3c9f8ef73b3d5a876d341b8b3370 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 11 Jul 2009 01:31:06 -0400 Subject: 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 --- classes/package_deb.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/package_deb.bbclass') 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')] -- cgit v1.2.3