Hello community, here is the log from the commit of package yomi-formula for openSUSE:Leap:15.2 checked in at 2020-04-30 18:52:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/yomi-formula (Old) and /work/SRC/openSUSE:Leap:15.2/.yomi-formula.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yomi-formula" Thu Apr 30 18:52:51 2020 rev:7 rq:799004 version:0.0.1+git.1587986719.9a9097a Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/yomi-formula/yomi-formula.changes 2020-04-28 20:11:28.764574393 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.yomi-formula.new.2738/yomi-formula.changes 2020-04-30 18:53:51.524904961 +0200 @@ -1,0 +2,6 @@ +Mon Apr 27 11:28:16 UTC 2020 - Alberto Planas Dominguez <[email protected]> + +- Update to version 0.0.1+git.1587986719.9a9097a: + * Add initial support for ARM64 with EFI + +------------------------------------------------------------------- Old: ---- yomi-0.0.1+git.1587385401.ce3ed18.obscpio New: ---- yomi-0.0.1+git.1587986719.9a9097a.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yomi-formula.spec ++++++ --- /var/tmp/diff_new_pack.39ZY2j/_old 2020-04-30 18:53:51.924905806 +0200 +++ /var/tmp/diff_new_pack.39ZY2j/_new 2020-04-30 18:53:51.928905815 +0200 @@ -20,7 +20,7 @@ %define fdir %{_datadir}/salt-formulas Name: yomi-formula -Version: 0.0.1+git.1587385401.ce3ed18 +Version: 0.0.1+git.1587986719.9a9097a Release: 0 Summary: Yomi - Yet one more installer License: Apache-2.0 ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.39ZY2j/_old 2020-04-30 18:53:51.976905916 +0200 +++ /var/tmp/diff_new_pack.39ZY2j/_new 2020-04-30 18:53:51.976905916 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/yomi.git</param> - <param name="changesrevision">ce3ed18f1146712b4d71499350f2cb8f73c9d6f0</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">9a9097a0704810e0b730152effdfb7f352e9b4eb</param></service></servicedata> \ No newline at end of file ++++++ yomi-0.0.1+git.1587385401.ce3ed18.obscpio -> yomi-0.0.1+git.1587986719.9a9097a.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yomi-0.0.1+git.1587385401.ce3ed18/README.md new/yomi-0.0.1+git.1587986719.9a9097a/README.md --- old/yomi-0.0.1+git.1587385401.ce3ed18/README.md 2020-04-20 14:23:21.000000000 +0200 +++ new/yomi-0.0.1+git.1587986719.9a9097a/README.md 2020-04-27 13:25:19.000000000 +0200 @@ -18,7 +18,7 @@ To execute Yomi we need a modern version of Salt, as we need special features are only on the -[develop](https://github.com/saltstack/salt/tree/develop) branch of +[master](https://github.com/saltstack/salt/tree/master) branch of Salt. Technically we can use the last released version of Salt for salt-master, but for the minions we need the most up-to-date version. The good news is that most of the patches are currently @@ -47,6 +47,9 @@ * Boot the new systems with the [ISO image](#the-iso-image) or via [PXE boot](#pxe-boot) +Currently Yomi support the installation under x86_64 and ARM64 +(aarch64) with EFI. + # Installing and configuring salt-master diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yomi-0.0.1+git.1587385401.ce3ed18/pillar/_storage.sls.lvm new/yomi-0.0.1+git.1587986719.9a9097a/pillar/_storage.sls.lvm --- old/yomi-0.0.1+git.1587385401.ce3ed18/pillar/_storage.sls.lvm 2020-04-20 14:23:21.000000000 +0200 +++ new/yomi-0.0.1+git.1587986719.9a9097a/pillar/_storage.sls.lvm 2020-04-27 13:25:19.000000000 +0200 @@ -91,8 +91,12 @@ - path: usr/local - path: var copy_on_write: no + {% if arch == 'aarch64' %} + - path: boot/grub2/arm64-efi + {% else %} - path: boot/grub2/i386-pc - path: boot/grub2/x86_64-efi + {% endif %} {% endif %} {% if home_filesystem %} /dev/system/home: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yomi-0.0.1+git.1587385401.ce3ed18/pillar/_storage.sls.microos new/yomi-0.0.1+git.1587986719.9a9097a/pillar/_storage.sls.microos --- old/yomi-0.0.1+git.1587385401.ce3ed18/pillar/_storage.sls.microos 2020-04-20 14:23:21.000000000 +0200 +++ new/yomi-0.0.1+git.1587986719.9a9097a/pillar/_storage.sls.microos 2020-04-27 13:25:19.000000000 +0200 @@ -69,8 +69,12 @@ - path: srv - path: boot/writable - path: usr/local + {% if arch == 'aarch64' %} + - path: boot/grub2/arm64-efi + {% else %} - path: boot/grub2/i386-pc - path: boot/grub2/x86_64-efi + {% endif %} {% set next_partition = next_partition + 1 %} /dev/{{ device_type }}a{{ next_partition }}: filesystem: {{ root_filesystem }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yomi-0.0.1+git.1587385401.ce3ed18/pillar/_storage.sls.raid1 new/yomi-0.0.1+git.1587986719.9a9097a/pillar/_storage.sls.raid1 --- old/yomi-0.0.1+git.1587385401.ce3ed18/pillar/_storage.sls.raid1 2020-04-20 14:23:21.000000000 +0200 +++ new/yomi-0.0.1+git.1587986719.9a9097a/pillar/_storage.sls.raid1 2020-04-27 13:25:19.000000000 +0200 @@ -98,8 +98,12 @@ - path: usr/local - path: var copy_on_write: no + {% if arch == 'aarch64' %} + - path: boot/grub2/arm64-efi + {% else %} - path: boot/grub2/i386-pc - path: boot/grub2/x86_64-efi + {% endif %} {% endif %} {% set next_partition = next_partition + 1 %} {% if home_filesystem %} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yomi-0.0.1+git.1587385401.ce3ed18/pillar/_storage.sls.single new/yomi-0.0.1+git.1587986719.9a9097a/pillar/_storage.sls.single --- old/yomi-0.0.1+git.1587385401.ce3ed18/pillar/_storage.sls.single 2020-04-20 14:23:21.000000000 +0200 +++ new/yomi-0.0.1+git.1587986719.9a9097a/pillar/_storage.sls.single 2020-04-27 13:25:19.000000000 +0200 @@ -72,8 +72,12 @@ - path: usr/local - path: var copy_on_write: no + {% if arch == 'aarch64' %} + - path: boot/grub2/arm64-efi + {% else %} - path: boot/grub2/i386-pc - path: boot/grub2/x86_64-efi + {% endif %} {% endif %} {% set next_partition = next_partition + 1 %} {% if home_filesystem %} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yomi-0.0.1+git.1587385401.ce3ed18/pillar/installer.sls new/yomi-0.0.1+git.1587986719.9a9097a/pillar/installer.sls --- old/yomi-0.0.1+git.1587385401.ce3ed18/pillar/installer.sls 2020-04-20 14:23:21.000000000 +0200 +++ new/yomi-0.0.1+git.1587986719.9a9097a/pillar/installer.sls 2020-04-27 13:25:19.000000000 +0200 @@ -21,12 +21,14 @@ # yet synchronized {% set efi = True %} {% set partition = 'gpt' %} -{% set device_type = 'sd' %} +{% set device_type = 'vd' %} {% set root_filesystem = 'btrfs' %} -{% set home_filesystem = 'xfs' %} +{% set home_filesystem = False %} {% set snapper = True %} {% set swap = True %} -{% set mode = 'sles' %} +{% set mode = 'single' %} + +{% set arch = grains['cpuarch'] %} config: events: no @@ -46,7 +48,7 @@ config: regcode: REGISTRATION-CODE version: '15.1' - arch: x86_64 + arch: {{ arch }} products: - sle-module-basesystem - sle-module-server-applications @@ -59,12 +61,14 @@ {% if mode == 'sles' %} SUSE_SLE-15_GA: "http://download.suse.de/ibs/SUSE:/SLE-15:/GA/standard/" SUSE_SLE-15-SP1_GA: "http://download.suse.de/ibs/SUSE:/SLE-15-SP1:/GA/standard/" +{% elif arch == 'aarch64' %} + repo-oss: "http://download.opensuse.org/ports/aarch64/tumbleweed/repo/oss/" {% else %} repo-oss: "http://download.opensuse.org/tumbleweed/repo/oss/" {% endif %} {% if mode == 'image' %} image: - url: tftp://10.0.3.1/openSUSE-Tumbleweed-Yomi.x86_64-1.0.0.xz + url: tftp://10.0.3.1/openSUSE-Tumbleweed-Yomi{{ arch }}-1.0.0.xz md5: {% else %} packages: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yomi-0.0.1+git.1587385401.ce3ed18/salt/yomi/bootloader/grub2_install.sls new/yomi-0.0.1+git.1587986719.9a9097a/salt/yomi/bootloader/grub2_install.sls --- old/yomi-0.0.1+git.1587385401.ce3ed18/salt/yomi/bootloader/grub2_install.sls 2020-04-20 14:23:21.000000000 +0200 +++ new/yomi-0.0.1+git.1587986719.9a9097a/salt/yomi/bootloader/grub2_install.sls 2020-04-27 13:25:19.000000000 +0200 @@ -1,6 +1,7 @@ {% import 'macros.yml' as macros %} {% set bootloader = pillar['bootloader'] %} +{% set arch = {'aarch64': 'arm64'}.get(grains['cpuarch'], grains['cpuarch'])%} {{ macros.log('cmd', 'grub2_install') }} grub2_install: @@ -9,7 +10,7 @@ {% if grains['efi-secure-boot'] %} - name: shim-install --config-file=/boot/grub2/grub.cfg {% else %} - - name: grub2-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB + - name: grub2-install --target={{ arch }}-efi --efi-directory=/boot/efi --bootloader-id=GRUB {% endif %} - creates: /mnt/boot/efi/EFI/GRUB {% else %} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yomi-0.0.1+git.1587385401.ce3ed18/salt/yomi/bootloader/grub2_mkconfig.sls new/yomi-0.0.1+git.1587986719.9a9097a/salt/yomi/bootloader/grub2_mkconfig.sls --- old/yomi-0.0.1+git.1587385401.ce3ed18/salt/yomi/bootloader/grub2_mkconfig.sls 2020-04-20 14:23:21.000000000 +0200 +++ new/yomi-0.0.1+git.1587986719.9a9097a/salt/yomi/bootloader/grub2_mkconfig.sls 2020-04-27 13:25:19.000000000 +0200 @@ -10,7 +10,7 @@ {% endif %} {% endif %} -{% if grains['efi'] %} +{% if grains['efi'] and grains['cpuarch'] != 'aarch64' %} {{ macros.log('file', 'config_grub2_efi') }} config_grub2_efi: file.append: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yomi-0.0.1+git.1587385401.ce3ed18/salt/yomi/bootloader/software.sls new/yomi-0.0.1+git.1587986719.9a9097a/salt/yomi/bootloader/software.sls --- old/yomi-0.0.1+git.1587385401.ce3ed18/salt/yomi/bootloader/software.sls 2020-04-20 14:23:21.000000000 +0200 +++ new/yomi-0.0.1+git.1587986719.9a9097a/salt/yomi/bootloader/software.sls 2020-04-27 13:25:19.000000000 +0200 @@ -1,6 +1,7 @@ {% import 'macros.yml' as macros %} {% set bootloader = pillar['bootloader'] %} +{% set arch = {'aarch64': 'arm64'}.get(grains['cpuarch'], grains['cpuarch'])%} {{ macros.log('pkg', 'install_grub2') }} install_grub2: @@ -11,7 +12,7 @@ - grub2-branding {% endif %} {% if grains['efi'] %} - - grub2-x86_64-efi + - grub2-{{ arch }}-efi {% if grains['efi-secure-boot'] %} - shim {% endif %} ++++++ yomi.obsinfo ++++++ --- /var/tmp/diff_new_pack.39ZY2j/_old 2020-04-30 18:53:52.172906330 +0200 +++ /var/tmp/diff_new_pack.39ZY2j/_new 2020-04-30 18:53:52.172906330 +0200 @@ -1,5 +1,5 @@ name: yomi -version: 0.0.1+git.1587385401.ce3ed18 -mtime: 1587385401 -commit: ce3ed18f1146712b4d71499350f2cb8f73c9d6f0 +version: 0.0.1+git.1587986719.9a9097a +mtime: 1587986719 +commit: 9a9097a0704810e0b730152effdfb7f352e9b4eb
