1
0
mirror of synced 2026-02-16 12:12:51 +00:00
Commit Graph

2211 Commits

Author SHA1 Message Date
Axel Beckert
657b366fbf Update NEWS.markdown and package description wrt. to Debian/Ubuntu releases
Also mention other fixes in NEWS.markdown.
2023-02-06 02:06:43 +01:00
Axel Beckert
e6eba80f3c Mark lunar as dont-test as debootstrap doesn't know about it yet 2023-02-05 22:09:24 +01:00
Axel Beckert
95207ed48e xt-guess-suite-and-mirror: Add support for Ubuntu Ports APT repos
Closes: #1023667, LP: #1995969
2023-01-30 03:09:48 +01:00
Axel Beckert
f368ae7cff xt-guess-suite-and-mirror: Add new option --sources-list to pass a file to parse
Primarily helpful for debugging and testing, but one might find other
uses for it, too.
2023-01-30 03:07:07 +01:00
Axel Beckert
0ec1bed1d1 Bump default ubuntu fallback release to 22.04 Jammy LTS 2023-01-30 02:58:10 +01:00
Axel Beckert
bbd21369cf Depend and Build-Depend on non-(build-)essential package mount
Closes: #1027383

Thanks to Santiago Vila for the bug report.

Actually the build-dependency is not strictly necessary as mount is
not really used at build or test time. But there's one test checking
the environment for a typical make, make test, make install workflow
to abort if not all required run-time dependencies can be found.

Then again, for the same reason as given in the bug report, a run-time
dependency on mount was missing, too.
2023-01-29 21:57:57 +01:00
Axel Beckert
2527e25beb Fix bashism in release testing target "tidy" 2023-01-29 21:50:41 +01:00
Axel Beckert
ede684baaa Update list of Ubuntu and Debian releases
Bump upstream version to 4.9.2.
2023-01-29 21:50:38 +01:00
Axel Beckert
b7490687e2 Debian packaging: Update upstream signing key to update its expiry date 2023-01-09 04:44:11 +01:00
Axel Beckert
0982fdd0f4 Update NEWS.markdown for 4.9.1 release
Has been forgotten in the release itself.
2021-10-24 06:45:45 +02:00
Axel Beckert
a39f24e754 Release as 4.9.1 and upload to Debian unstable as 4.9.1-1 debian-4.9.1-1 release-4.9.1 2021-10-24 05:39:12 +02:00
Axel Beckert
8a623b30ba Also create an .orig.tar.xz signature upon "make release" 2021-10-24 05:36:26 +02:00
Axel Beckert
5730250725 Declare compliance with Debian Policy 4.6.0
No other changes were needed.
2021-10-24 05:24:56 +02:00
Axel Beckert
ac04bed0f2 This seems closer to the original semantics 2021-10-24 05:09:08 +02:00
Axel Beckert
cf693d9e64 Travis CI: stop testing again Perl "dev"
It no more seems to exist.
2021-10-24 02:26:05 +02:00
Axel Beckert
fc7c09596a Make test xt/gitignore.t work with git releases ≥ 2.32.0 2021-10-24 02:23:47 +02:00
Axel Beckert
7ebb0f41a4 Fix missing "|" in regex in Debian's 20-setup-apt
Closes: #997668
2021-10-24 02:23:35 +02:00
Axel Beckert
00527f64b2 Release as 4.9 and upload to Debian Unstable as 4.9-1 debian-4.9-1 release-4.9 2020-12-29 12:23:16 +01:00
Axel Beckert
83c37b476a Start all Debian releases since Stretch (9) with pygrub by default 2020-12-29 12:05:39 +01:00
Axel Beckert
af6ceacc4c Fix typo in current changelog entry 2020-12-28 05:08:18 +01:00
Axel Beckert
6cdd1eb63f Add debian/changelog and NEWS.md entry for GL MR !1 2020-12-28 02:22:37 +01:00
Wolfgang Karall
97dd8fafc8 Use 'defaults' and not the IO-bottleneck of the decade 'sync' in the options for the root filesystem. 2020-12-28 02:19:20 +01:00
Axel Beckert
58899daffe Add debian/changelog and NEWS.md entry for GH #57 2020-12-27 17:13:41 +01:00
Axel Beckert
239f1e4c88 Merge branch 'cli-fix' of https://github.com/frootmig/xen-tools 2020-12-27 17:09:24 +01:00
Axel Beckert
1a27e59df7 This will become a feature release, too: Update version and NEWS.md 2020-12-27 17:02:04 +01:00
Axel Beckert
b7486d427c Add debian/changelog entry for GH #58 and reformat its comments a bit 2020-12-27 16:58:06 +01:00
Axel Beckert
6aeb8d9d11 Merge branch 'netplan-p2p-support' of https://github.com/frootmig/xen-tools 2020-12-27 16:40:55 +01:00
Axel Beckert
f5dc8cbf37 Add debian/changelog entry for GH #62 2020-12-27 15:56:23 +01:00
Axel Beckert
4aa9428e3b Merge branch 'arm64-debian' of https://github.com/ianmclinden/xen-tools 2020-12-27 15:50:56 +01:00
Axel Beckert
a58cc83c80 Adapt distributions.conf defaults to Ubuntu keyrings of 2018
As of now, Debian's ubuntu-keyring package hasn't been updated for
more than two years. See https://bugs.debian.org/978438
2020-12-27 15:22:03 +01:00
Axel Beckert
965839812c Bump recommended debootstrap version to 1.0.117 2020-12-27 14:34:13 +01:00
Axel Beckert
a9593dabf0 Update list of supported distributions in README and debian/control 2020-12-21 00:35:56 +01:00
Axel Beckert
ea95b1ef03 t/hook-apt.t: Special case for Perl 5.10
File::Copy in Perl 5.10 does not copy permissions, so let's fix it
there and check for it elsewhere.

This reverts the two commits 06b3faa1bf
and 68c20b4e4e which did not help to fix
this issue as the initially suspected noexec mount wasn't really
there. Hopefully this finally resolves the test failures with Perl
5.10 in the new t/hook-apt.t.
2020-12-20 22:40:57 +01:00
Axel Beckert
68c20b4e4e Travis CI: Make sure shell scripts in .travis.yml also work with bash, not just dash and zsh 2020-12-20 20:48:17 +01:00
Axel Beckert
06b3faa1bf Travis CI before_install: Make sure we can execute scripts in /tmp/
Those build failures with Perl 5.10 seem to neither be related to
xen-tools nor to Perl but to how the git repo is unpacked on Travis CI
as executable bits are either missing or /tmp/ is mounted with
"noexec".

So add some code to before_install to 1) output some debug information
on that issue and 2) abort early if executing scripts in /tmp/ fails.
2020-12-20 19:54:11 +01:00
Axel Beckert
0da2ed1365 Fix test suite failures in a Sid chroot
Problem was that the commented variant only was a new, $dist-security
one, but is also written if the security repo is disabled with other
distributions than sid/unstable.
2020-12-20 08:47:31 +01:00
Axel Beckert
285d2c80b9 Use regexp to check for $dist/updates vs $dist-security
If the security repo will be  enabled or not currently depends on the
host's sources.list. So the resulting files differ depending on the
host where the test is run. Add a TODO item to break with that
"feature".

Also mention in the TODO list that a repo on archive.debian.org should
be used instead security.debian.org if the release is EoL. Currently
the security mirror is hardcoded into the hook.
2020-12-20 08:33:47 +01:00
Axel Beckert
ed497ab39c Some 5.0 TODOs around the security APT repo 2020-12-20 08:13:56 +01:00
Axel Beckert
85c0583819 Add test for $dist/updates vs $dist-security
Uses Test::File::Contents, add it to .travis.yml and the according
package as build-dependency in debian/control.
2020-12-20 06:44:12 +01:00
Axel Beckert
c0cb19eefc Add debian/changelog entry for previous commit 2020-12-19 08:25:42 +01:00
Axel Beckert
67603c2d74 Merge pull request #40 from blbradley/grub-silent-failure-fix
fix update-grub chroot silent failure

While it probably would be nicer to mount it at the beginning and umount it at the end, we have too many hooks already doing this and changing this seems a bigger task.
2020-12-19 08:21:05 +01:00
Axel Beckert
a816cc81ae Declare compliance with Debian Policy 4.5.1
No other changes were required.
2020-12-19 08:13:20 +01:00
Axel Beckert
01d7628770 Bump debhelper compatibility level to 13
Build-depend on "debhelper-compat (= 13)" to replace debian/compat.
2020-12-19 08:08:53 +01:00
Axel Beckert
1150835a89 Bump debian/watch version from 3 to 4
Thanks Lintian!
2020-12-19 08:07:11 +01:00
Axel Beckert
17025182eb Bump version in Makefile and all scripts 2020-12-19 08:06:48 +01:00
Axel Beckert
e7b2f1a3e7 Add debian/changelog entry for previous commit 2020-12-19 07:54:18 +01:00
Andreas Sundstrom
fe4a18edef Fix support for lvm_thin
Closes: #942244
2020-12-19 07:52:31 +01:00
Axel Beckert
eab2940bf6 Reimplement $dist/updates vs $dist-security more backwards-compatible
This reverts most code, but not the implemented functionality of
commit 2fba5cb90e.

Requiring a config file change to still be able to install old
distributions would make a bump of the major version necessary
according to Semantic Versioning. Let's avoid that:

The list of distributions with the old path scheme is finite and will
never change again. Hence it's ok and especially backwards compatible
to hardcode this list in hooks/debian/20-setup-apt.

It's also less and more obvious (but not necessarily easier to read)
code. But it's all in one place and not scattered over three files.
And it's just one line instead like a dozen or two dozens.

Closes: #972749 (kinda again)
2020-12-19 07:38:37 +01:00
Axel Beckert
e8897649b7 Fix mostly trailing whitespace in generated sources.list 2020-12-19 06:49:29 +01:00
Axel Beckert
2fba5cb90e Debian DomUs: Distinguish between $dist/updates and $dist-security
From Debian 11 Bullseye onwards, debian uses $dist-security instead of
$dist/updates as distribution part in /etc/apt/sources.list.

Mark those distributions with the old-style subdirectory path with
"security-subdir" in distributions.conf.

Thanks to Paul Wise for the bug report (and hence reminding me of
this) and for the suggestions on how to implement this (even if I
didn't follow them for the sake of simplicity and no additional
dependencies).

Closes: #972749
2020-12-19 06:49:29 +01:00