From a0ad06d5983fadcf4bc21db372632513f6ff6d8a Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 7 Jul 2015 15:13:32 -0400 Subject: [PATCH] Add sles12 packaging test Signed-off-by: Michael Jeanson --- .../{el7-add-efficios-repo.sh => el7/add-efficios-repo.sh} | 0 .../install-lttng-packages.sh} | 0 packaging/sles12/add-efficios-repo.sh | 7 +++++++ packaging/sles12/install-lttng-packages.sh | 4 ++++ ...-start-relayd.sh => systemd-enable-and-start-relayd.sh} | 0 ...rt-sessiond.sh => systemd-enable-and-start-sessiond.sh} | 0 packaging/{el7-test-run.sh => test-run.sh} | 0 packaging/test.sh | 2 -- 8 files changed, 11 insertions(+), 2 deletions(-) rename packaging/{el7-add-efficios-repo.sh => el7/add-efficios-repo.sh} (100%) rename packaging/{el7-install-lttng-packages.sh => el7/install-lttng-packages.sh} (100%) create mode 100755 packaging/sles12/add-efficios-repo.sh create mode 100755 packaging/sles12/install-lttng-packages.sh rename packaging/{el7-enable-and-start-relayd.sh => systemd-enable-and-start-relayd.sh} (100%) rename packaging/{el7-enable-and-start-sessiond.sh => systemd-enable-and-start-sessiond.sh} (100%) rename packaging/{el7-test-run.sh => test-run.sh} (100%) delete mode 100755 packaging/test.sh diff --git a/packaging/el7-add-efficios-repo.sh b/packaging/el7/add-efficios-repo.sh similarity index 100% rename from packaging/el7-add-efficios-repo.sh rename to packaging/el7/add-efficios-repo.sh diff --git a/packaging/el7-install-lttng-packages.sh b/packaging/el7/install-lttng-packages.sh similarity index 100% rename from packaging/el7-install-lttng-packages.sh rename to packaging/el7/install-lttng-packages.sh diff --git a/packaging/sles12/add-efficios-repo.sh b/packaging/sles12/add-efficios-repo.sh new file mode 100755 index 0000000..cac6fab --- /dev/null +++ b/packaging/sles12/add-efficios-repo.sh @@ -0,0 +1,7 @@ +#/bin/sh + +zypper --non-interactive addrepo http://packages.efficios.com/repo.files/EfficiOS-SLE12-x86-64.repo + +rpmkeys --import http://packages.efficios.com/sle/repo.key + +zypper --non-interactive refresh diff --git a/packaging/sles12/install-lttng-packages.sh b/packaging/sles12/install-lttng-packages.sh new file mode 100755 index 0000000..4e37049 --- /dev/null +++ b/packaging/sles12/install-lttng-packages.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +zypper --non-interactive install lttng-tools babeltrace + diff --git a/packaging/el7-enable-and-start-relayd.sh b/packaging/systemd-enable-and-start-relayd.sh similarity index 100% rename from packaging/el7-enable-and-start-relayd.sh rename to packaging/systemd-enable-and-start-relayd.sh diff --git a/packaging/el7-enable-and-start-sessiond.sh b/packaging/systemd-enable-and-start-sessiond.sh similarity index 100% rename from packaging/el7-enable-and-start-sessiond.sh rename to packaging/systemd-enable-and-start-sessiond.sh diff --git a/packaging/el7-test-run.sh b/packaging/test-run.sh similarity index 100% rename from packaging/el7-test-run.sh rename to packaging/test-run.sh diff --git a/packaging/test.sh b/packaging/test.sh deleted file mode 100755 index bb101b6..0000000 --- a/packaging/test.sh +++ /dev/null @@ -1,2 +0,0 @@ -true -true -- 2.34.1