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




commit 242d00b0a799098718b57e5e9e01379d6dba16d2
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 | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/elements/iso/image.bst b/elements/iso/image.bst
index 6ceaa8ce..6b162bff 100644
--- a/elements/iso/image.bst
+++ b/elements/iso/image.bst
@@ -84,10 +84,19 @@ 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"
+            extraargs = "-e /efi.img -no-emul-boot -boot-load-size 4 -efi-boot-part --efi-boot-image -sysid 
LINUX -publisher GNOME -appid "GNOME OS ${branch_name} %{arch}" "
             volume-id = "GNOME-OS-INSTALLER"
         }
     }


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