d9f2aea0fb
1. Rename CGCS to StarlingX for .spec files Test: After the de-brand change, bootimage.iso has been built in the flock Layer and installed on the dev machine to validate the changes. Please note, doing de-brand changes in batches, this is batch9 changes. Story: 2006387 Task: 39524 Change-Id: Ia1fe0f2baafb78c974551100f16e6a7d99882f15 Signed-off-by: Sharath Kumar K <sharath.kumar@intel.com> De-branding in starlingx/config: CGCS -> StarlingX 1. Rename CGCS to StarlingX for .spec file 2. Rename TIS to StarlingX for .service files Test: After the de-brand change, bootimage.iso has been built in the flock Layer and installed on the dev machine to validate the changes. Please note, doing de-brand changes in batches, this is batch10 changes. Story: 2006387 Task: 36202 Change-Id: I404ce0da2621495175ad31489e9ad6f7b0211e26 Signed-off-by: Sharath Kumar K <sharath.kumar@intel.com>
47 lines
1.1 KiB
RPMSpec
47 lines
1.1 KiB
RPMSpec
Summary: StarlingX Host Inventory Init Package
|
|
Name: sysinv-agent
|
|
Version: 1.0
|
|
Release: %{tis_patch_ver}%{?_tis_dist}
|
|
License: Apache-2.0
|
|
Group: base
|
|
Packager: Wind River <info@windriver.com>
|
|
URL: unknown
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
%description
|
|
StarlingX Inventory Init Package
|
|
|
|
%define local_etc_initd /etc/init.d/
|
|
%define local_etc_pmond /etc/pmon.d/
|
|
|
|
%define debug_package %{nil}
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
|
|
%install
|
|
# compute init scripts
|
|
install -d -m 755 %{buildroot}%{local_etc_initd}
|
|
install -p -D -m 755 sysinv-agent %{buildroot}%{local_etc_initd}/sysinv-agent
|
|
|
|
install -d -m 755 %{buildroot}%{local_etc_pmond}
|
|
install -p -D -m 644 sysinv-agent.conf %{buildroot}%{local_etc_pmond}/sysinv-agent.conf
|
|
install -p -D -m 644 sysinv-agent.service %{buildroot}%{_unitdir}/sysinv-agent.service
|
|
|
|
%post
|
|
/usr/bin/systemctl enable sysinv-agent.service >/dev/null 2>&1
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc LICENSE
|
|
%{local_etc_initd}/sysinv-agent
|
|
%{local_etc_pmond}/sysinv-agent.conf
|
|
%{_unitdir}/sysinv-agent.service
|