Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package openSUSE-MicroOS for
openSUSE:Factory checked in at 2022-01-14 23:13:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openSUSE-MicroOS (Old)
and /work/SRC/openSUSE:Factory/.openSUSE-MicroOS.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openSUSE-MicroOS"
Fri Jan 14 23:13:26 2022 rev:47 rq:946400 version:16.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/openSUSE-MicroOS/openSUSE-MicroOS.changes
2021-11-25 23:06:10.157190183 +0100
+++
/work/SRC/openSUSE:Factory/.openSUSE-MicroOS.new.1892/openSUSE-MicroOS.changes
2022-01-14 23:14:55.234696770 +0100
@@ -1,0 +2,7 @@
+Fri Jan 14 11:29:54 UTC 2022 - Richard Brown <[email protected]>
+
+- Correct SelfInstall ignition_platform to 'metal'
+- Force a full reboot on firstboot of SelfInstall to ensure ignition
+ doesn't get skipped by kiwi's regular kexec after OEM imaging
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ config.sh ++++++
--- /var/tmp/diff_new_pack.Fslgko/_old 2022-01-14 23:14:55.766697113 +0100
+++ /var/tmp/diff_new_pack.Fslgko/_new 2022-01-14 23:14:55.766697113 +0100
@@ -158,14 +158,14 @@
ignition_platform='metal'
case "${kiwi_profiles}" in
- *kvm*|*SelfInstall*) ignition_platform='qemu' ;;
+ *kvm*) ignition_platform='qemu' ;;
*DigitalOcean*) ignition_platform='digitalocean' ;;
*VMware*) ignition_platform='vmware' ;;
*OpenStack*) ignition_platform='openstack' ;;
*VirtualBox*) ignition_platform='virtualbox' ;;
*HyperV*) ignition_platform='metal'
grub_cmdline+=('rootdelay=300') ;;
- *Pine64*|*RaspberryPi*|*Rock64*|*Vagrant*|*onie*)
ignition_platform='metal' ;;
+ *Pine64*|*RaspberryPi*|*Rock64*|*Vagrant*|*onie*|*SelfInstall*)
ignition_platform='metal' ;;
*) echo "Unhandled profile?"
exit 1
;;
@@ -204,6 +204,27 @@
fi
#======================================
+# Configure SelfInstall specifics
+#--------------------------------------
+if [[ "$kiwi_profiles" == *"SelfInstall"* ]]; then
+ cat > /etc/systemd/system/selfinstallreboot.service <<-EOF
+ [Unit]
+ Description=SelfInstall Image Reboot after Firstboot (to ensure
ignition and such runs)
+ After=systemd-machine-id-commit.service
+
+ [Service]
+ Type=oneshot
+ ExecStart=rm /etc/systemd/system/selfinstallreboot.service
+ ExecStart=rm
/etc/systemd/system/default.target.wants/selfinstallreboot.service
+ ExecStart=systemctl --no-block reboot
+
+ [Install]
+ WantedBy=default.target
+ EOF
+ ln -s /etc/systemd/system/selfinstallreboot.service
/etc/systemd/system/default.target.wants/selfinstallreboot.service
+fi
+
+#======================================
# Configure Pine64 specifics
#--------------------------------------
if [[ "$kiwi_profiles" == *"Pine64"* ]]; then