diff options
author | Kiwoong Ha <kw1981.ha@samsung.com> | 2022-10-26 14:26:37 +0900 |
---|---|---|
committer | Kiwoong Ha <kw1981.ha@samsung.com> | 2022-10-26 14:27:25 +0900 |
commit | 1bd215050758ad9ef9cff661596130e86ae3cc21 (patch) | |
tree | 09cc4766fea12d787e7800130a5cfe461fb466d0 /packaging | |
parent | f2f8ebbcb36854870aee592642062b8929c8ed50 (diff) | |
download | docker-config-accepted/tizen_unified.tar.gz docker-config-accepted/tizen_unified.tar.bz2 docker-config-accepted/tizen_unified.zip |
Add new initial source code for docker-configtizen_9.0_m2_releasetizen_8.0_m2_releaseaccepted/tizen/unified/20221101.090257accepted/tizen/9.0/unified/20241030.232635accepted/tizen/8.0/unified/20231005.094449tizen_9.0tizen_8.0tizenaccepted/tizen_unifiedaccepted/tizen_9.0_unifiedaccepted/tizen_8.0_unified
Change-Id: I2b2127fbbc25a07aa377eba5179c480cd4bbe0de
Signed-off-by: Kiwoong Ha <kw1981.ha@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/docker-config.spec | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/packaging/docker-config.spec b/packaging/docker-config.spec new file mode 100644 index 0000000..95068b2 --- /dev/null +++ b/packaging/docker-config.spec @@ -0,0 +1,45 @@ +Name: hal-backend-docker-config +Summary: Hal backend docker configuration package +Version: 0.1.0 +Release: 0 +Group: Tools/Docker +License: Apache-2.0 +Source0: %{name}-%{version}.tar.gz + +%description +Hal backend docker configuration package including json files. + +%package rpi4 +Summary: Hal backend docker configuration package for rpi4 target +Group: Tools/Docker +License: Apache-2.0 + +%description rpi4 +Hal backend docker configuration package including json files for rpi4 target. + +%prep +%setup -q -n %{name}-%{version} + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{_hal_datadir} + +mkdir -p %{buildroot}%{_hal_licensedir}/%{name}-rpi4 +cp LICENSE %{buildroot}%{_hal_licensedir}/%{name}-rpi4 +mkdir -p %{buildroot}%{_hal_datadir}/%{name}-rpi4 +cp -arf %{name}-rpi4/* %{buildroot}%{_hal_datadir}/%{name}-rpi4 + +%post rpi4 +cp -arf %{_hal_datadir}/%{name}-rpi4/* / +rm -rf %{_hal_datadir}/%{name}-rpi4 + +%preun rpi4 +rm -rf %{_hal_sysconfdir}/docker + +%postun + +%files rpi4 +%manifest %{name}-rpi4.manifest +%{_hal_licensedir}/%{name}-rpi4/* +%defattr(-,root,root,-) +%{_hal_datadir}/%{name}-rpi4%{_hal_sysconfdir}/docker/* |