summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2025-07-03 15:38:46 +0100
committerGitHub <noreply@github.com>2025-07-03 15:38:46 +0100
commit5e1e6cb028c9a2527f72d0d9c3a9d4bd1ff78dba (patch)
tree8c63c5b6a7524431ad401f7669f90e95ddc3eb2b
parent3e5696d501e1b37dc6fc89fba13253833c356b14 (diff)
parent54e235909001623eca0fcce24a3f3aed608b99e0 (diff)
downloadvyos-build-5e1e6cb028c9a2527f72d0d9c3a9d4bd1ff78dba.tar.gz
vyos-build-5e1e6cb028c9a2527f72d0d9c3a9d4bd1ff78dba.zip
Merge pull request #985 from dmbaturin/T7610-fix-upgrade-from-equuleus
iso: T7610: include a file with ISO9660 string to prevent upgrade failures from 1.3.x
-rw-r--r--data/live-build-config/includes.binary/compat10
1 files changed, 10 insertions, 0 deletions
diff --git a/data/live-build-config/includes.binary/compat b/data/live-build-config/includes.binary/compat
new file mode 100644
index 00000000..2bdeeb14
--- /dev/null
+++ b/data/live-build-config/includes.binary/compat
@@ -0,0 +1,10 @@
+# VyOS 1.3.x image upgrade scipt checked if an image file was a valid ISO file
+# by grepping it for "ISO9660".
+# (The correct way to do that would be to use file/libmagic,
+# but we cannot change the past).
+# At some point something has changed in xorriso or some other tool
+# and images no longer include that string.
+# so the image validity check fails.
+# To allow direct upgrades from older versions,
+# we artificially include that string to make the old check pass.
+ISO9660