From 7fe5e942c79c31e9124647d88aa3ee31f545572413463635969e6603fdacc20a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 27 Apr 2022 12:18:20 +0000 Subject: [PATCH] First version of BCI based on Tumbleweed OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/micro-image?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++ .gitignore | 1 + _service | 5 ++++ config.sh | 22 +++++++++++++++++ micro-image.changes | 0 micro-image.kiwi | 58 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 109 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 config.sh create mode 100644 micro-image.changes create mode 100644 micro-image.kiwi diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..f5ca758 --- /dev/null +++ b/_service @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/config.sh b/config.sh new file mode 100644 index 0000000..5b90922 --- /dev/null +++ b/config.sh @@ -0,0 +1,22 @@ +#!/bin/bash +# SPDX-License-Identifier: MIT +# SPDX-FileCopyrightText: (c) 2022 SUSE LLC + +set -euo pipefail + +test -f /.kconfig && . /.kconfig +test -f /.profile && . /.profile + +echo "Configure image: [$kiwi_iname]..." + +#============================================ +# Import repositories' keys if rpm is present +#-------------------------------------------- +if command -v rpm > /dev/null; then + suseImportBuildKey +fi + + + + +exit 0 diff --git a/micro-image.changes b/micro-image.changes new file mode 100644 index 0000000..473a0f4 diff --git a/micro-image.kiwi b/micro-image.kiwi new file mode 100644 index 0000000..bb0fb1e --- /dev/null +++ b/micro-image.kiwi @@ -0,0 +1,58 @@ + + + + + + + + + SUSE LLC + https://www.suse.com/ + SLE BCI %OS_VERSION% Micro Container Image + + + + + + + + + + + + + + + 15.Tumbleweed.0 + zypper + false + true + + + + + + + + + + + \ No newline at end of file