Adds manifest files support and prevent directories from being
installed by every package (unless they are explicitly added). It
allows support for the SMACK security.
Change-Id: I52a2453d42c3940af209ffb20329d53b13880c23
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
bootimgdepends = bootimgdepends.replace(d.expand("${INITRD_IMAGE}:do_rootfs"), "")
d.setVarFlag("do_bootimg", "depends", bootimgdepends)
}
+
+DIRFILES = "1"
+RPM_EXTRA_PKGDATA = "1"
+
+def package_rpm_extra_pkgdata(splitname, spec_file, d):
+ if d.getVar('MANIFESTFILES', True):
+ spec_file.append('%%manifest %s' % d.getVar('MANIFESTFILES', True))
+