Sync from SUSE:SLFO:Main google-guest-configs revision 9de517dc3c2194f85c26b166f36dd6bd
This commit is contained in:
commit
0f63695e25
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
google-guest-configs-20231214.00.tar.gz
(Stored with Git LFS)
Normal file
BIN
google-guest-configs-20231214.00.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
165
google-guest-configs.changes
Normal file
165
google-guest-configs.changes
Normal file
@ -0,0 +1,165 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 4 11:55:25 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 20231214.00
|
||||||
|
* set multiqueue: A3 check set timeout the MDS call in 1s (#62)
|
||||||
|
- from version 20231103.00
|
||||||
|
* Update owners (#61)
|
||||||
|
* Update owners (#58)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 19 12:33:34 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 20230929.00
|
||||||
|
* Update multinic filter to pick only pci devices (#59)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 15 13:49:04 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 20230808.00 (bsc#1214546, bsc#1214572)
|
||||||
|
* 64-gce-disk-removal.rules: delete (#51)
|
||||||
|
- from version 20230801.00
|
||||||
|
* Replace xxd with dd for google_nvme_id (#56)
|
||||||
|
- from version 20230729.00
|
||||||
|
* Setup irq binding for a3 8g vm (#57)
|
||||||
|
- from version 20230724.00
|
||||||
|
* Debian packaging: add xxd dependency (#55)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 27 11:54:42 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 20230626.00 (bsc#1212418, bsc#1212759)
|
||||||
|
* Revert "Replace `xxd` to `cut` for google_nvme_id (#49)" (#54)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 8 11:11:12 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 20230526.00
|
||||||
|
* dracut: Add a new dracut module for gcp udev rules (#53)
|
||||||
|
- from version 20230522.00
|
||||||
|
* src/lib/udev: only create symlinks for GCP devices (#52)
|
||||||
|
- from version 20230515.00
|
||||||
|
* Replace `xxd` to `cut` for google_nvme_id (#49)
|
||||||
|
- from version 20230328.00
|
||||||
|
* Set hostname: consider fully qualified static hostname (#46)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 27 10:37:52 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 20230217.01
|
||||||
|
* Support multiple local SSD controllers (#39)
|
||||||
|
- from version 20230217.00
|
||||||
|
* Update OWNERS (#45)
|
||||||
|
- from version 20230215.00
|
||||||
|
* DHCP hostname: don't reset hostname if
|
||||||
|
the hostname hasn't changed (#44)
|
||||||
|
- from version 20230202.00
|
||||||
|
* Update OWNERS file (#43)
|
||||||
|
- from version 20230123.00
|
||||||
|
* Fix a repository URL in packaging specs (#41)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 11 11:37:09 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Add nvme-cli to Requires (bsc#1204068, bsc#1204091)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 14 12:17:57 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 20220211.00 (bsc#1195437, bsc#1195438)
|
||||||
|
* Set NVMe-PD IO timeout to 4294967295. (#32)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 17 12:00:23 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Add missing pkg-config dependency to BuildRequires for SLE-12
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 7 15:02:57 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Install modprobe configuration files into /etc again on SLE-15-SP2 and
|
||||||
|
older since that's stil the default location on these distributions
|
||||||
|
- Probe udev directory using the "udevdir" pkg-config variable on SLE-15-SP2
|
||||||
|
and older since the variable got renamed to "udev_dir" in later versions
|
||||||
|
- Remove redundant pkgconfig(udev) from BuildRequires for SLE-12
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 18 13:58:21 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 20211116.00 (bsc#1193257, bsc#1193258)
|
||||||
|
* GCE supports up to 24 NVMe local SSDs, but the regex in the PROGRAM field
|
||||||
|
only looks for the last digit of the given string causing issues when there
|
||||||
|
are >= 10 local SSDs. Changed REGEX to get the last number of the string
|
||||||
|
instead to support the up to 24 local SSDs. (#30)
|
||||||
|
* chmod+x google_nvme_id on EL (#31)
|
||||||
|
- Fix duplicate installation of google_optimize_local_ssd and google_set_multiqueue
|
||||||
|
- Install google_nvme_id into /usr/lib/udev (bsc#1192652, bsc#1192653)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 22 13:07:54 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 20210916.00
|
||||||
|
* Revert "dont set IP in etc/hosts; remove rsyslog (#26)" (#28)
|
||||||
|
- from version 20210831.00
|
||||||
|
* restore rsyslog (#27)
|
||||||
|
- from version 20210830.00
|
||||||
|
* Fix NVMe partition names (#25)
|
||||||
|
- from version 20210824.00
|
||||||
|
* dont set IP in etc/hosts; remove rsyslog (#26)
|
||||||
|
* update OWNERS
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 20 19:59:07 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
- Use %_modprobedir for modprobe.d files (out of /etc)
|
||||||
|
- Use %_sysctldir for sysctl.d files (out of /etc)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 19 12:03:26 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 20210702.00
|
||||||
|
* use grep for hostname check (#23)
|
||||||
|
- from version 20210629.00
|
||||||
|
* address set_hostname vuln (#22)
|
||||||
|
- from version 20210324.00
|
||||||
|
* dracut.conf wants spaces around values (#19)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 31 12:55:08 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 20210317.00 (bsc#1183414, bsc#1183415)
|
||||||
|
* dracut.conf wants spaces around values (#19)
|
||||||
|
* make the same change for debian (#18)
|
||||||
|
* change path back for google_nvme_id (#17)
|
||||||
|
* move google_nvme_id to /usr/bin (#16)
|
||||||
|
* correct udev rule syntax (#15)
|
||||||
|
* prune el6 spec (#13)
|
||||||
|
* Updated udev rules (#11)
|
||||||
|
- Remove empty %{_sbindir} from %install and %files section
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 5 20:26:01 UTC 2021 - Robert Schweikert <rjschwei@suse.com>
|
||||||
|
|
||||||
|
- Remove service files (bsc#1180304)
|
||||||
|
+ google-optimize-local-ssd.service, google-set-multiqueue.service
|
||||||
|
scripts are called from within the guest agent
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 25 15:27:16 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to version 20200626.00 (bsc#1175740, bsc#1175741)
|
||||||
|
* Updates the udev rules for local SSD disks. (#9)
|
||||||
|
* Fix tx affinity logic when number of CPUs is above 32 (#6)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 24 13:07:43 UTC 2020 - Robert Schweikert <rjschwei@suse.com>
|
||||||
|
|
||||||
|
- Switch udev requires to pkgconfig to allow the build service to use
|
||||||
|
the -mini package for build optimization
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 22 10:53:42 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Initial build (bsc#1174304, bsc#1174306, jsc#ECO-2099, jsc#PM-1945)
|
||||||
|
+ Version 20200626.00
|
||||||
|
+ Replaces configuration from google-compute-engine-{init,oslogin} package
|
80
google-guest-configs.spec
Normal file
80
google-guest-configs.spec
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
#
|
||||||
|
# spec file for package google-guest-configs
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} < 1550 && 0%{?sle_version} < 150300
|
||||||
|
%define _udevdir %(pkg-config --variable udevdir udev)
|
||||||
|
%define _modprobedir %{_sysconfdir}/modprobe.d
|
||||||
|
%else
|
||||||
|
%define _udevdir %(pkg-config --variable udev_dir udev)
|
||||||
|
%endif
|
||||||
|
Name: google-guest-configs
|
||||||
|
Version: 20231214.00
|
||||||
|
Release: 0
|
||||||
|
Summary: Google Cloud Guest Configs
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: System/Daemons
|
||||||
|
URL: https://github.com/GoogleCloudPlatform/guest-configs
|
||||||
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: systemd-rpm-macros
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1315
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
%endif
|
||||||
|
BuildRequires: pkgconfig(udev)
|
||||||
|
Requires: nvme-cli
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Google Cloud Guest Configs
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n guest-configs-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
# Nothing to build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_modprobedir}
|
||||||
|
cp -av src/etc/modprobe.d/* %{buildroot}%{_modprobedir}
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/rsyslog.d
|
||||||
|
cp -av src/etc/rsyslog.d/* %{buildroot}%{_sysconfdir}/rsyslog.d/
|
||||||
|
mkdir -p %{buildroot}%{_sysctldir}
|
||||||
|
cp -av src/etc/sysctl.d/* %{buildroot}%{_sysctldir}
|
||||||
|
mkdir -p %{buildroot}%{_udevrulesdir}
|
||||||
|
cp -av src/lib/udev/rules.d/* %{buildroot}%{_udevrulesdir}/
|
||||||
|
cp -av src/lib/udev/google_nvme_id %{buildroot}/%{_udevdir}/
|
||||||
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
cp -av src/usr/bin/* %{buildroot}%{_bindir}/
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%attr(0755,root,root) %{_bindir}/google_optimize_local_ssd
|
||||||
|
%exclude %attr(0755,root,root) %{_bindir}/google_set_hostname
|
||||||
|
%attr(0755,root,root) %{_bindir}/google_set_multiqueue
|
||||||
|
%if 0%{?suse_version} < 1550 && 0%{?sle_version} < 150300
|
||||||
|
%dir %{_modprobedir}
|
||||||
|
%endif
|
||||||
|
%dir %{_sysconfdir}/rsyslog.d
|
||||||
|
%{_modprobedir}/gce-blacklist.conf
|
||||||
|
%config %{_sysconfdir}/rsyslog.d/*
|
||||||
|
%{_sysctldir}/*
|
||||||
|
%attr(0755,root,root) %{_udevdir}/google_nvme_id
|
||||||
|
%{_udevrulesdir}/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user