Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package google-guest-configs for
openSUSE:Factory checked in at 2025-01-07 20:52:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/google-guest-configs (Old)
and /work/SRC/openSUSE:Factory/.google-guest-configs.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "google-guest-configs"
Tue Jan 7 20:52:25 2025 rev:28 rq:1235220 version:20241205.00
Changes:
--------
---
/work/SRC/openSUSE:Factory/google-guest-configs/google-guest-configs.changes
2025-01-01 23:05:00.997336191 +0100
+++
/work/SRC/openSUSE:Factory/.google-guest-configs.new.1881/google-guest-configs.changes
2025-01-07 20:52:48.899412710 +0100
@@ -1,0 +2,7 @@
+Mon Dec 30 14:47:09 UTC 2024 - Robert Schweikert <[email protected]>
+
+- Add ggc-no-dup-metasrv-entry.patch
+ + Follow up to (bsc#1234289, bsc#1234293). Avoid duplicate entries for
+ the metadata server in /etc/hosts
+
+-------------------------------------------------------------------
New:
----
ggc-no-dup-metasrv-entry.patch
BETA DEBUG BEGIN:
New:
- Add ggc-no-dup-metasrv-entry.patch
+ Follow up to (bsc#1234289, bsc#1234293). Avoid duplicate entries for
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ google-guest-configs.spec ++++++
--- /var/tmp/diff_new_pack.afKbZ7/_old 2025-01-07 20:52:49.751447938 +0100
+++ /var/tmp/diff_new_pack.afKbZ7/_new 2025-01-07 20:52:49.755448104 +0100
@@ -30,6 +30,8 @@
Group: System/Daemons
URL: https://github.com/GoogleCloudPlatform/guest-configs
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
+# FIXME (https://github.com/GoogleCloudPlatform/guest-configs/pull/96)
+Patch1: ggc-no-dup-metasrv-entry.patch
BuildRequires: sysconfig
BuildRequires: sysconfig-netconfig
BuildRequires: systemd-rpm-macros
@@ -45,6 +47,7 @@
%prep
%setup -q -n guest-configs-%{version}
+%patch -P 1
%build
# Nothing to build
++++++ ggc-no-dup-metasrv-entry.patch ++++++
--- src/usr/bin/google_set_hostname.orig
+++ src/usr/bin/google_set_hostname
@@ -53,7 +53,10 @@ if [ -n "$new_host_name" ] && [ -n "$new
fi
# Add an entry for reaching the metadata server in /etc/hosts.
- echo "169.254.169.254 metadata.google.internal # Added by Google" >>
/etc/hosts
+ has_metadata_entry=$(egrep '^169\.254\.169\.254' /etc/hosts)
+ if [ -z "$has_metadata_entry" ]; then
+ echo "169.254.169.254 metadata.google.internal # Added by Google" >>
/etc/hosts
+ fi
fi
# /sbin/dhclient-scripts in both ubuntu and centos have some problems for us: