[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] Backport xen-4.8 from Stretch to Jessie, adding flask support
Responding to this post: I started with below sources from the Stretch repo: http://http.debian.net/debian/pool/main/x/xen/xen_4.8.1-1+deb9u1.dsc http://http.debian.net/debian/pool/main/x/xen/xen_4.8.1.orig.tar.gz http://http.debian.net/debian/pool/main/x/xen/xen_4.8.1-1+deb9u1.debian.tar.xz The rules.real was patched like this: cat flask-support.diff --- debian/rules.real 2017-04-18 08:01:10.000000000 -0700 +++ debian/zzrules-real 2017-05-25 14:20:52.412678147 -0700 @@ -165,6 +165,10 @@ debian/$(PACKAGE_NAME)/etc/default/grub.d/xen.cfg dh_install debian/templates/xen-hypervisor.bug/* usr/share/bug/$(PACKAGE_NAME) cp $(DIR)/xen/xen$(IMAGE_SUFFIX) debian/$(PACKAGE_NAME)/boot/xen-$(VERSION)-$(FLAVOUR)$(IMAGE_SUFFIX) + if [ -f debian/build/build-utils_amd64/tools/flask/policy/xenpolicy-4.8.1 ]; then \ + dh_installdirs boot/flask; \ + cp debian/build/build-utils_$(ARCH)/tools/flask/policy/xenpolicy-4.8.1 debian/$(PACKAGE_NAME)/boot/flask/xenpolicy-4.8.1 ; \ + fi; ifeq ($(ARCH),amd64) cp $(DIR)/xen/xen.efi debian/$(PACKAGE_NAME)/boot/xen-$(VERSION)-$(FLAVOUR).efi endif @@ -223,6 +227,7 @@ install -D -m644 debian/xen-utils.NEWS $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/NEWS install -D -m644 debian/xen-utils.README.Debian $(PACKAGE_DIR)/usr/share/doc/$(PACKAGE_NAME)/README.Debian dh_install --sourcedir=$(DIR) usr/lib/xen-$(VERSION) + dh_install debian/build/install-utils_amd64/usr/sbin/* usr/lib/xen-$(VERSION)/sbin/ dh_install debian/templates/xen-utils.bug/* usr/share/bug/$(PACKAGE_NAME) dh_lintian ( echo -n "misc:Built-Using="; dpkg-query -f='$${source:Package} (= $${source:Version}), ' -W ipxe-qemu seabios; echo ) >> debian/$(PACKAGE_NAME).substvars Three build-depends were added: checkpolicy, m4, libfile-fcntllock-perl, dh-python No changes to Config.mk were needed. My backport sources are here: The debian build of Xen uses a truncated source, with all qemu* & seabios sources removed. There is no support for oxenstored (ocaml) nor is there any OVMF support. The systemd init system in upstream is also not included. PryMar56 _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx https://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |