Stephen Oberholtzer
2014-Dec-05 05:33 UTC
[Pkg-xen-devel] Debian patches for Xen 4.5.0 (RC3)
(I hope this is the right address to send this message to.) I've spent the last few days getting Xen 4.5.0 RC3 to form up Debian packages, adapting the files from xen-4.4.1-4. Would you guys like my patches? It was a non-trivial exercise, especially because of commit 2c96ecb1, which invalidated a huge chunk of the quilt patches. I thought it might save you some effort when 4.5.0 is finally released. I'm not sure if the resulting packages actually *work* (I'm actually not yet sure how to safely upgrade Xen). However, I can confirm this: * 'dpkg-buildpackage -uc -us' produces suitable-looking .deb files: -rw-r--r-- 1 stevie stevie 339152 Dec 5 00:08 ../libxen-4.5_4.5.0~rc3-1_amd64.deb -rw-r--r-- 1 stevie stevie 534696 Dec 5 00:08 ../libxen-dev_4.5.0~rc3-1_amd64.deb -rw-r--r-- 1 stevie stevie 30552 Dec 5 00:08 ../libxenstore3.0_4.5.0~rc3-1_amd64.deb -rw-r--r-- 1 stevie stevie 1703822 Dec 5 00:07 ../xen-hypervisor-4.5-amd64_4.5.0~rc3-1_amd64.deb -rw-r--r-- 1 stevie stevie 19670 Dec 5 00:07 ../xen-system-amd64_4.5.0~rc3-1_amd64.deb -rw-r--r-- 1 stevie stevie 390732 Dec 5 00:08 ../xen-utils-4.5_4.5.0~rc3-1_amd64.deb -rw-r--r-- 1 stevie stevie 101390 Dec 5 00:07 ../xen-utils-common_4.5.0~rc3-1_all.deb -rw-r--r-- 1 stevie stevie 43680 Dec 5 00:02 ../xen_4.5.0~rc3-1.debian.tar.xz -rw-r--r-- 1 stevie stevie 2105 Dec 5 00:02 ../xen_4.5.0~rc3-1.dsc -rw-r--r-- 1 stevie stevie 4306 Dec 5 00:09 ../xen_4.5.0~rc3-1_amd64.changes -rw-r--r-- 1 stevie stevie 3484684 Dec 4 11:32 ../xen_4.5.0~rc3.orig.tar.xz -rw-r--r-- 1 stevie stevie 26302 Dec 5 00:08 ../xenstore-utils_4.5.0~rc3-1_amd64.deb * I compared the package contents looking for extra/missing files: (for x in *xen*4.4.1-4*.deb; do dpkg --contents $x | cut -b 49- | sed -e "s/^/${x%%_*}: /; s/4.[45]/X.Y/g"; done) | sort > xen-4.4-filelist.txt (for x in *xen*4.5.0~rc3-1*.deb; do dpkg --contents $x | cut -b 49- | sed -e "s/^/${x%%_*}: /; s/4.[45]/X.Y/g"; done) | sort > xen-4.5-filelist.txt colordiff -U0 xen-4.4-filelist.txt xen-4.5-filelist.txt | grep -v '@@' These were the differences: -xen-utils-X.Y: ./usr/lib/xen-X.Y/bin/xc_restore -xen-utils-X.Y: ./usr/lib/xen-X.Y/bin/xc_save Removed by 9e8672f1c36d7237508c537c0a1db6c473c2be37 +xen-utils-X.Y: ./usr/lib/xen-X.Y/bin/xen-init-dom0 Added by ae931f568fe9e91179f3ff3aab199a84d39a626b -xen-utils-X.Y: ./usr/lib/xen-X.Y/bin/xen-python-path Removed by 1a1b7407bfdb6bc0b33bc10a798e0c55799ae051 +xen-utils-X.Y: ./usr/lib/xen-X.Y/bin/xendomains Added by d8bad9df2544291a0fdc8e4d826b16f9f5394462 -xen-utils-X.Y: ./usr/lib/xen-X.Y/lib/python/xen/lowlevel/checkpoint.so -xen-utils-X.Y: ./usr/lib/xen-X.Y/lib/python/xen/lowlevel/flask.so -xen-utils-X.Y: ./usr/lib/xen-X.Y/lib/python/xen/lowlevel/netlink.so -xen-utils-X.Y: ./usr/lib/xen-X.Y/lib/python/xen/lowlevel/ptsname.so Removed by 9e8672f1c36d7237508c537c0a1db6c473c2be37 +xen-utils-common: ./etc/xen/scripts/block-drbd-probe Added by c03153348098fbdd905163af95ecbabbd43f31bb -xen-utils-common: ./etc/xen/scripts/network-bridge -xen-utils-common: ./etc/xen/scripts/network-nat -xen-utils-common: ./etc/xen/scripts/network-route Removed by 9fabe55939a8ed3128dae8a9cda8d4052eb86493 -xen-utils-common: ./usr/share/man/man1/xm.1.gz -xen-utils-common: ./usr/share/man/man5/xend-config.sxp.5.gz -xen-utils-common: ./usr/share/man/man5/xmdomain.cfg.5.gz Removed by 9e8672f1c36d7237508c537c0a1db6c473c2be37 -- -- Stevie-O Real programmers use COPY CON PROGRAM.EXE
On Fri, 2014-12-05 at 00:33 -0500, Stephen Oberholtzer wrote:> (I hope this is the right address to send this message to.) > > I've spent the last few days getting Xen 4.5.0 RC3 to form up Debian > packages, adapting the files from xen-4.4.1-4. > Would you guys like my patches? > It was a non-trivial exercise, especially because of commit 2c96ecb1, > which invalidated a huge chunk of the quilt patches. > I thought it might save you some effort when 4.5.0 is finally released.Thanks, as it happens I'd made a start on rc1 at the mini-debconf in Cambridge earlier in the year. I've just now rebased that to rc3 and pushed to the pkg-xen git tree[0] (see the feature/experimental-rc3 branch). I've built and confirmed that the package content is sane, plus I've installed on a test machine and started a PV guest (seems fine). If you notice any glaring differences between what's in that tree and what you ended up with then please do give a shout, since as you say there were some distinctly non-trivial rebasing bits in there (2c96ecb1 was a particular pain as you say!) Ian. [0] http://anonscm.debian.org/cgit/pkg-xen/xen.git
Thanks for your work on xen packages, I have some question about 4.5 packages: I saw a debian/rules that disable blktap2 but debian/patches/tools-blktap2-prefix.diff is still present and used in series, if blktap2 is now disable I think is nomore needed. I saw also many other patches about prefix still present but for xen 4.5 time ago I saw a big series of patches about honor tools prefix, probably some or all prefix patches are nomore needed. Can you update also xendomains init and default files in debian folder to latest xen upstream please? Some useful options added in upstream some years ago is still missed in debian packages :( Thanks for any reply and sorry for my bad english. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4297 bytes Desc: Firma crittografica S/MIME URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20141210/bfe533ed/attachment.bin>