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