From 5ef6fc61d9c2cf42fb08601de3c45b5df607eb66 Mon Sep 17 00:00:00 2001 From: Alice Liu Date: Fri, 25 Jul 2014 17:55:40 +0800 Subject: [PATCH] Add Emulator snapshot, daily, M14.2 milestone repos Change-Id: I547af9d23ffbcbf4a3971dc325c7ee684b922158 Signed-off-by: Alice Liu --- ivi-emul-daily.repo | 18 ++++++++++++++++++ ivi-emul-milestone.repo | 18 ++++++++++++++++++ ivi-emul-snapshot.repo | 18 ++++++++++++++++++ packaging/ivi-repos.spec | 16 +++++++++++++++- 4 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 ivi-emul-daily.repo create mode 100644 ivi-emul-milestone.repo create mode 100644 ivi-emul-snapshot.repo diff --git a/ivi-emul-daily.repo b/ivi-emul-daily.repo new file mode 100644 index 0000000..ee22125 --- /dev/null +++ b/ivi-emul-daily.repo @@ -0,0 +1,18 @@ +[ivi-daily] +name=ivi-daily +type=rpm-md +baseurl=https://download.tizen.org/releases/daily/tizen/ivi-3.0.m14.2/latest/repos/emulator/packages/ +gpgcheck=0 +enabled=1 + +[ivi-daily-debuginfo] +name=ivi-daily-debuginfo +baseurl=https://download.tizen.org/releases/daily/tizen/ivi-3.0.m14.2/latest/repos/emulator/debug/ +gpgcheck=0 +enabled=0 + +[ivi-daily-source] +name=ivi-daily-source +baseurl=https://download.tizen.org/releases/daily/tizen/ivi-3.0.m14.2/latest/repos/emulator/source/ +gpgcheck=0 +enabled=0 diff --git a/ivi-emul-milestone.repo b/ivi-emul-milestone.repo new file mode 100644 index 0000000..ac8855e --- /dev/null +++ b/ivi-emul-milestone.repo @@ -0,0 +1,18 @@ +[ivi-milestone] +name=ivi-milestone +type=rpm-md +baseurl=https://download.tizen.org/releases/milestone/tizen/ivi-3.0.m14.2/latest/repos/emulator/packages/ +gpgcheck=0 +enabled=1 + +[ivi-milestone-debuginfo] +name=ivi-milestone-debuginfo +baseurl=https://download.tizen.org/releases/milestone/tizen/ivi-3.0.m14.2/latest/repos/emulator/debug/ +gpgcheck=0 +enabled=0 + +[ivi-milestone-source] +name=ivi-milestone-source +baseurl=https://download.tizen.org/releases/milestone/tizen/ivi-3.0.m14.2/latest/repos/emulator/source/ +gpgcheck=0 +enabled=0 diff --git a/ivi-emul-snapshot.repo b/ivi-emul-snapshot.repo new file mode 100644 index 0000000..e1dc3cb --- /dev/null +++ b/ivi-emul-snapshot.repo @@ -0,0 +1,18 @@ +[ivi-snapshot] +name=ivi-snapshot +type=rpm-md +baseurl=https://download.tizen.org/snapshots/tizen/ivi-3.0.m14.2/latest/repos/emulator/packages/ +gpgcheck=0 +enabled=0 + +[ivi-snapshot-debuginfo] +name=ivi-snapshot-debuginfo +baseurl=https://download.tizen.org/snapshots/tizen/ivi-3.0.m14.2/latest/repos/emulator/debug/ +gpgcheck=0 +enabled=0 + +[ivi-snapshot-source] +name=ivi-snapshot-source +baseurl=https://download.tizen.org/snapshots/tizen/ivi-3.0.m14.2/latest/repos/emulator/source/ +gpgcheck=0 +enabled=0 diff --git a/packaging/ivi-repos.spec b/packaging/ivi-repos.spec index c271657..f6a0376 100644 --- a/packaging/ivi-repos.spec +++ b/packaging/ivi-repos.spec @@ -1,6 +1,8 @@ +%bcond_with emulator + Name: ivi-repos Summary: Tizen IVI Repos -Version: 6 +Version: 7 Release: 1 Group: Base/Configuration BuildArch: noarch @@ -19,13 +21,25 @@ This package installs the .repo files for Tizen IVI images %install rm -rf %{buildroot} install -d %{buildroot}/etc/zypp/repos.d +%if %{with emulator} +install -m 0644 ivi-emul-snapshot.repo %{buildroot}/etc/zypp/repos.d +install -m 0644 ivi-emul-daily.repo %{buildroot}/etc/zypp/repos.d +install -m 0644 ivi-emul-milestone.repo %{buildroot}/etc/zypp/repos.d +%else install -m 0644 ivi-snapshot.repo %{buildroot}/etc/zypp/repos.d install -m 0644 ivi-daily.repo %{buildroot}/etc/zypp/repos.d install -m 0644 ivi-milestone.repo %{buildroot}/etc/zypp/repos.d +%endif %files %defattr(-,root,root,-) +%if %{with emulator} +%config /etc/zypp/repos.d/ivi-emul-snapshot.repo +%config /etc/zypp/repos.d/ivi-emul-daily.repo +%config /etc/zypp/repos.d/ivi-emul-milestone.repo +%else %config /etc/zypp/repos.d/ivi-snapshot.repo %config /etc/zypp/repos.d/ivi-daily.repo %config /etc/zypp/repos.d/ivi-milestone.repo +%endif -- 2.7.4