From 0769009eb6fd4080ec6c7e4d4a02854787913d95 Mon Sep 17 00:00:00 2001 From: Scott Little Date: Wed, 1 Aug 2018 12:31:54 -0400 Subject: [PATCH] Relocate enable-dev-patch to stx-update/enable-dev-patch Move content from stx-utils into stx-integ or stx-update Packages will be relocated to stx-update: enable-dev-patch extras stx-integ: config-files/ io-scheduler filesystem/ filesystem-scripts grub/ grubby logging/ logmgmt tools/ collector monitor-tools tools/engtools/ hostdata-collectors parsers utilities/ build-info branding (formerly wrs-branding) platform-util Change-Id: I9edf4ede0369646500c6bcc5a54c9627093a96fb Story: 2002801 Task: 22687 Signed-off-by: Scott Little --- centos_pkg_dirs | 1 + enable-dev-patch/centos/build_srpm.data | 2 ++ enable-dev-patch/centos/enable-dev-patch.spec | 28 +++++++++++++++++++ .../dev_certificate_enable.bin | 1 + 4 files changed, 32 insertions(+) create mode 100644 enable-dev-patch/centos/build_srpm.data create mode 100644 enable-dev-patch/centos/enable-dev-patch.spec create mode 100644 enable-dev-patch/enable-dev-patch/dev_certificate_enable.bin diff --git a/centos_pkg_dirs b/centos_pkg_dirs index b1f2b615..d0c9ab4b 100644 --- a/centos_pkg_dirs +++ b/centos_pkg_dirs @@ -14,3 +14,4 @@ patch-scripts/EXAMPLE_VIM patch-scripts/EXAMPLE_NOVA patch-scripts/EXAMPLE_SYSINV patch-scripts/EXAMPLE_SERVICE +enable-dev-patch diff --git a/enable-dev-patch/centos/build_srpm.data b/enable-dev-patch/centos/build_srpm.data new file mode 100644 index 00000000..ddd5493f --- /dev/null +++ b/enable-dev-patch/centos/build_srpm.data @@ -0,0 +1,2 @@ +TIS_PATCH_VER=1 +COPY_LIST="enable-dev-patch/*" diff --git a/enable-dev-patch/centos/enable-dev-patch.spec b/enable-dev-patch/centos/enable-dev-patch.spec new file mode 100644 index 00000000..23380a50 --- /dev/null +++ b/enable-dev-patch/centos/enable-dev-patch.spec @@ -0,0 +1,28 @@ +Summary: Enable installation of developer patches +Name: enable-dev-patch +Version: 1.0 +Release: %{tis_patch_ver}%{?_tis_dist} +License: Apache-2.0 +Group: base +Packager: Wind River +URL: unknown +Source0: dev_certificate_enable.bin + +%description +Enables the installation of Titanium patches signed by developers + +%prep + +%build + +%install + install -m 755 -d %{buildroot}%{_sysconfdir}/pki/wrs + install -m 444 %{SOURCE0} %{buildroot}%{_sysconfdir}/pki/wrs/dev_certificate_enable.bin + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{_sysconfdir}/pki/wrs/dev_certificate_enable.bin + diff --git a/enable-dev-patch/enable-dev-patch/dev_certificate_enable.bin b/enable-dev-patch/enable-dev-patch/dev_certificate_enable.bin new file mode 100644 index 00000000..a074ffb0 --- /dev/null +++ b/enable-dev-patch/enable-dev-patch/dev_certificate_enable.bin @@ -0,0 +1 @@ ++DI:#0Wɸ^׳AyӘ b1+2;Y3ncE;lĊ!P.^fE.jk~Mcg)(F^Oe \oɨL">^>'SZimL^6:lƳyVB4n%91PG s99]cN*m+2^?;NRx)\磙u. ƽ)$0Xjo֧5XP) \ No newline at end of file