1# 2# SPDX-License-Identifier: GPL-2.0-only 3# 4 5from oe.manifest import Manifest 6 7class DpkgManifest(Manifest): 8 def create_initial(self): 9 with open(self.initial_manifest, "w+") as manifest: 10 manifest.write(self.initial_manifest_file_header) 11 12 for var in self.var_maps[self.manifest_type]: 13 pkg_list = self.d.getVar(var) 14 15 if pkg_list is None: 16 continue 17 18 for pkg in pkg_list.split(): 19 manifest.write("%s,%s\n" % 20 (self.var_maps[self.manifest_type][var], pkg)) 21 22 def create_final(self): 23 pass 24 25 def create_full(self, pm): 26 pass 27