summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@enea.com>2013-02-11 14:26:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-12 13:22:44 +0000
commit02d2a5e68cab490cb83db6e4f2f0802221efe8a2 (patch)
treed73ba1c32ca240cec83a5ae6d97c0a7f5f943318 /meta/lib/oe
parent604568ca8e6478a860fb9abfbfd2a1a923e7457d (diff)
downloadpoky-02d2a5e68cab490cb83db6e4f2f0802221efe8a2.tar.gz
distro_check: Remove creation of empty Meego filelist.
This fixes permissions errors when running distrodata. (From OE-Core rev: c58e6cf352774e147038e6543ac95ab0060f2327) Signed-off-by: Anders Roxell <anders.roxell@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/distro_check.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py
index ad13d5e492..8ed5b0ec80 100644
--- a/meta/lib/oe/distro_check.py
+++ b/meta/lib/oe/distro_check.py
@@ -73,13 +73,12 @@ def clean_package_list(package_list):
73def get_latest_released_meego_source_package_list(): 73def get_latest_released_meego_source_package_list():
74 "Returns list of all the name os packages in the latest meego distro" 74 "Returns list of all the name os packages in the latest meego distro"
75 75
76 if not os.path.isfile("/tmp/Meego-1.1"):
77 os.mknod("/tmp/Meego-1.1")
78 f = open("/tmp/Meego-1.1", "r")
79 package_names = [] 76 package_names = []
80 for line in f: 77 try:
81 package_names.append(line[:-1] + ":" + "main") # Also strip the '\n' at the end 78 f = open("/tmp/Meego-1.1", "r")
82 79 for line in f:
80 package_names.append(line[:-1] + ":" + "main") # Also strip the '\n' at the end
81 except IOError: pass
83 package_list=clean_package_list(package_names) 82 package_list=clean_package_list(package_names)
84 return "1.0", package_list 83 return "1.0", package_list
85 84