[gnome-build-meta/valentindavid/eos-installer: 1/4] Add volume descriptor in installer ISO to ease osinfo detection




commit 361a0490fbe5d08efb3e35aa09c53a8671f00bfe
Author: Valentin David <valentin david codethink co uk>
Date:   Tue Mar 10 11:21:52 2020 +0100

    Add volume descriptor in installer ISO to ease osinfo detection

 elements/iso/image.bst | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/elements/iso/image.bst b/elements/iso/image.bst
index 6ceaa8ce..be81dbcf 100644
--- a/elements/iso/image.bst
+++ b/elements/iso/image.bst
@@ -84,11 +84,20 @@ config:
     EOF
 
   - |
+    case '%{branch}' in
+      master)
+        branch_name='Nightly'
+        ;;
+      *)
+        branch_name='%{branch}'
+        ;;
+    esac
+
     cat >/stage-2/genimage.cfg <<EOF
     image installer.iso {
         iso {
-            extraargs = "-e /efi.img -no-emul-boot -boot-load-size 4 -efi-boot-part --efi-boot-image"
-            volume-id = "GNOME-OS-INSTALLER"
+            extraargs = "-e /efi.img -no-emul-boot -boot-load-size 4 -efi-boot-part --efi-boot-image -sysid 
LINUX -publisher GNOME"
+            volume-id = "GNOME OS ${branch_name} %{arch}"
         }
     }
     config {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]