Hi,
Following Paul's advice, I have uploaded vmdb2
0.27+really+0.26-1. Debdiff reports no differences (?!)
$ debdiff ../build-area/vmdb2_0.26-2_source.changes ../build-area/vmdb2_0.27+really.0.26-1_source.changes
File lists identical (after any substitutions)
Although I did check for the (following) patch to be present and
applied. The only difference between version 0.26-2 (currently in
testing) and the just uploaded version follows; once this version is
accepted in testing, I'll apply the rolled-back changes again:
diff --git a/debian/changelog b/debian/changelog
index f8661c6..cfa5dbe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,33 @@
+vmdb2 (0.27+really.0.26-1) unstable; urgency=medium
+
+ * Rolling back the import of 0.27 due to the request of the Debian
+ release managers; applying only the targetted patch
+ * Specify ^large_dir, ^metadata_csum_seed parameters to e2fsprogs to fix
+ the creation of unbootable systems when older GRUB versions are used
+ (Closes: #1031364)
+
+ -- Gunnar Wolf <gwolf@debian.org> Sat, 06 May 2023 19:06:53 -0600
+
+vmdb2 (0.27-1) unstable; urgency=medium
+
+ [ Gunnar Wolf ]
+ * New upstream release
+ * Specify ^large_dir, ^metadata_csum_seed parameters to e2fsprogs to fix
+ the creation of unbootable systems when older GRUB versions are used
+ (Closes: #1031364)
+
+ [ Debian Janitor ]
+ * Bump debhelper from old 12 to 13.
+ * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
+ * Update standards version to 4.6.1, no changes needed.
+ * Set upstream metadata fields: Repository.
+
+ [ Gunnar Wolf ]
+ * Drop 001_set_architecture_for_later_stages patch (no longer needed,
+ incorporated upstream)
+
+ -- Gunnar Wolf <gwolf@debian.org> Mon, 24 Oct 2022 14:48:46 -0000
+
vmdb2 (0.26-2) unstable; urgency=medium
* Fix debootstrap plugin: Set architecture for later stages (Closes:
diff --git a/debian/patches/omit_new_ext4_flags b/debian/patches/omit_new_ext4_flags
new file mode 100644
index 0000000..3046e68
--- /dev/null
+++ b/debian/patches/omit_new_ext4_flags
@@ -0,0 +1,27 @@
+Origin: https://gitlab.com/larswirzenius/vmdb2/-/merge_requests/106/diffs?commit_id=5b91eb58673d43e27523877816169b14e1ab6dfc
+Forwarded: not-needed
+From: Gunnar Wolf <gwolf@debian.org>
+Date: Sat May 6 19:21:30 GMT-6 2023
+Subject: When initializing an ext4 filesystem, omit flags incompatible with old GRUBs
+
+Index: vmdb2/vmdb/plugins/mkfs_plugin.py
+===================================================================
+--- vmdb2.orig/vmdb/plugins/mkfs_plugin.py
++++ vmdb2/vmdb/plugins/mkfs_plugin.py
+@@ -51,6 +51,16 @@ class MkfsStepRunner(vmdb.StepRunnerInte
+ cmd.append("-L")
+ cmd.append(label)
+
++ # Ext4 filesystem features large_dir and metadta_csum_seed
++ # are known to make versions of GRUB older than 2.06-8 unable
++ # to boot. Keep this round at least until it is no longer
++ # likely enough(?) users will try to build older target systems
++ if fstype == "ext4":
++ cmd.append("-O")
++ cmd.append("^large_dir")
++ cmd.append("-O")
++ cmd.append("^metadata_csum_seed")
++
+ options = values["options"] or None
+ if options:
+ for opt in options.split(" "):
diff --git a/debian/patches/series b/debian/patches/series
index 40b31a7..4f56886 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
001_set_architecture_for_later_stages
+omit_new_ext4_flags
Attachment:
signature.asc
Description: PGP signature