Elliott Mitchell
2021-Aug-07 13:58 UTC
[Pkg-xen-devel] [PATCH 1/4] debian/.gitignore sort and tighten matching
Sorting is a maintainance task which is helpful for easier reading. .gitignore files don't actually behave in an intuitive way. *All* lines are wildcards, unless care is taken patterns can catch files in subdirectories. Ensuring all names start with a slash ensures they exclude filenames in subdirectories. Several entries are expected to be directories, not ordinary files. Ensure these get reported if a file replaces the directory (suffix slashes). Signed-off-by: Elliott Mitchell <ehem+debian at m5p.com> --- debian/.gitignore | 77 +++++++++++++++++++++++------------------------ 1 file changed, 38 insertions(+), 39 deletions(-) diff --git a/debian/.gitignore b/debian/.gitignore index 7f7267b720..3bd63c0964 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -1,39 +1,38 @@ -.debhelper -*.debhelper.* -*.preinst.debhelper -*.postinst.debhelper -*.prerm.debhelper -*.postrm.debhelper -*.substvars -*.stamp -tmp -*-[0-9]*.bug-control -*-[0-9]*.postinst -*-[0-9]*.postrm -*.tmp -files -xen-doc -xen-hypervisor-common -xen-system-amd64 -xen-system-armhf -xen-system-arm64 -xen-hypervisor-[0-9]*[0-9] -xen-hypervisor-[0-9]*[0-9].install -xen-hypervisor-[0-9]*[0-9].lintian-overrides -xen-utils-[0-9]*[0-9] -xen-utils-[0-9]*[0-9].install -xen-utils-[0-9]*[0-9].NEWS -xen-utils-[0-9]*[0-9].README.Debian -xen-utils-[0-9]*[0-9].lintian-overrides -xen-utils-[0-9]*[0-9].prerm -libxenmisc[0-9]*[0-9].lintian-overrides -libxenmisc[0-9]*[0-9] -libxenmisc[0-9]*[0-9].install -libxenmisc[0-9]*[0-9].lintian-overrides -libxen-dev -libxen*[0-9] -xen-utils-common -xenstore-utils -autoreconf.before -autoreconf.after -debhelper-build-stamp +/*-[0-9]*.bug-control +/*-[0-9]*.postinst +/*-[0-9]*.postrm +/*.debhelper.* +/*.postinst.debhelper +/*.postrm.debhelper +/*.preinst.debhelper +/*.prerm.debhelper +/*.stamp +/*.substvars +/*.tmp +/.debhelper/ +/autoreconf.after +/autoreconf.before +/debhelper-build-stamp +/files +/libxen*[0-9]/ +/libxen-dev/ +/libxenmisc[0-9]*[0-9].install +/libxenmisc[0-9]*[0-9].lintian-overrides +/libxenmisc[0-9]*[0-9]/ +/tmp/ +/xen-doc/ +/xen-hypervisor-[0-9]*[0-9].install +/xen-hypervisor-[0-9]*[0-9].lintian-overrides +/xen-hypervisor-[0-9]*[0-9]/ +/xen-hypervisor-common/ +/xen-system-amd64/ +/xen-system-arm64/ +/xen-system-armhf/ +/xen-utils-[0-9]*[0-9].NEWS +/xen-utils-[0-9]*[0-9].README.Debian +/xen-utils-[0-9]*[0-9].install +/xen-utils-[0-9]*[0-9].lintian-overrides +/xen-utils-[0-9]*[0-9].prerm +/xen-utils-[0-9]*[0-9]/ +/xen-utils-common/ +/xenstore-utils/ -- (\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/) \BS ( | ehem+sigmsg at m5p.com PGP 87145445 | ) / \_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/ 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
Elliott Mitchell
2021-Aug-09 01:03 UTC
[Pkg-xen-devel] [PATCH 0/4] More ideas on Debian packaging of Xen
Hopefully the settings with patch formatting are more to the maintainer's taste (I prefer the other way). Two of these had already been suggested, but I'm sending them again since they still seem to have value. This batch are mostly independent and can readily be reordered. The first and last interact some, but reordering them should be straightforward if you desire to do so. I still like the idea of creating the "xen-domu-bootloader" virtual package for PvGRUB to fill. Perhaps this should be "xen-domu-loader" or maybe there should also be "xen-domu-bootloader-X.Y". I've gotten interesting results during my experiments with Xen on ARM hardware. PyGRUB is pretty well version-independent. PyGRUB from Xen 4.11 worked perfectly for loading kernel/initial ramdisk on a Xen 4.14 hypervisor. This suggests PyGRUB should be a package separate from the Xen utils. This would also allow completely removing PyGRUB from a system. The currently visible alternative is wishlist bug #978595. On arm64 the resultant XEN_EFI.fd is pretty well ideal. It has higher overhead than PvGRUB, but it can load things besides Linux. Presently it is the only loader known to function for the WIP FreeBSD port. The packaging job is incomplete. I make no claims of being a full Debian developer, simply someone with some interest who wants things to work. Notably I suspect this would result in an incorrect 4.11 => 4.14 upgrade. During the 4.11 => 4.14 upgrade, the xen-pygrub package should be installed if xen-utils-4.11 was installed. I suspect both xen-utils-4.14 and xen-pygrub need to be marked as replacing xen-utils-4.11 (possibly xen-utils-4.4 and xen-utils-4.8 too). Now to learn a bit about xenstored and stubdomains... Elliott Mitchell (4): debian/.gitignore sort and tighten matching debian/control: Update utils Recommends debian/rules: Setup use of noOCAML profile debian: Break PyGRUB into package separate from Xen debian/.gitignore | 79 ++++++++++++++++--------------- debian/control | 19 ++++++-- debian/rules | 18 +++++-- debian/xen-pygrub.install.vsn-in | 5 ++ debian/xen-utils-V.install.vsn-in | 3 +- 5 files changed, 76 insertions(+), 48 deletions(-) create mode 100644 debian/xen-pygrub.install.vsn-in -- (\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/) \BS ( | ehem+sigmsg at m5p.com PGP 87145445 | ) / \_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/ 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445