diff options
Diffstat (limited to 'meta/lib/oe')
-rw-r--r-- | meta/lib/oe/package_manager.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 58c73d645d..367490fc5b 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py @@ -282,6 +282,7 @@ class DpkgIndexer(Indexer): apt_ftparchive = bb.utils.which(os.getenv('PATH'), "apt-ftparchive") gzip = bb.utils.which(os.getenv('PATH'), "gzip") + xz = bb.utils.which(os.getenv('PATH'), "xz") index_cmds = [] deb_dirs_found = False @@ -293,6 +294,7 @@ class DpkgIndexer(Indexer): cmd = "cd %s; PSEUDO_UNLOAD=1 %s packages . > Packages;" % (arch_dir, apt_ftparchive) cmd += "%s -fcn Packages > Packages.gz;" % gzip + cmd += "%s -fc Packages > Packages.xz;" % xz with open(os.path.join(arch_dir, "Release"), "w+") as release: release.write("Label: %s\n" % arch) |