From 9811edca192945e9e8c034a823ea93ed88eeb7be Mon Sep 17 00:00:00 2001 From: favogt <> Date: Jul 25 2022 15:04:43 +0000 Subject: Update busybox-image to version 15.Tumbleweed.0 / rev 1 via SR 990263 https://build.opensuse.org/request/show/990263 by user favogt + favogt_factory Next try --- diff --git a/.files b/.files new file mode 100644 index 0000000..4c75862 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..1e0cc40 --- /dev/null +++ b/.meta @@ -0,0 +1,5 @@ + + + + + diff --git a/.rev b/.rev new file mode 100644 index 0000000..0d7f45a --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + 6b0bd63e3c1b9208117f168a082fe10c + 15.Tumbleweed.0 + + favogt_factory + Next try + 990263 + + diff --git a/.servicemark b/.servicemark new file mode 100644 index 0000000..22a7f2d --- /dev/null +++ b/.servicemark @@ -0,0 +1 @@ +32ecb30fd10690cb1e08ed8b5b8cad1d diff --git a/_service b/_service new file mode 100644 index 0000000..04b53d3 --- /dev/null +++ b/_service @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/busybox-image.changes b/busybox-image.changes new file mode 100644 index 0000000..37d6e6c --- /dev/null +++ b/busybox-image.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 15 11:09:19 UTC 2022 - Dan Čermák + +- Increase compatibility with openSUSE + +------------------------------------------------------------------- +Thu Apr 28 10:24:27 UTC 2022 - Dan Čermák + +- fix default shell of root to sh instead of bash diff --git a/busybox-image.kiwi b/busybox-image.kiwi new file mode 100644 index 0000000..a859069 --- /dev/null +++ b/busybox-image.kiwi @@ -0,0 +1,56 @@ + + + + + + + + + openSUSE Project + https://www.suse.com/ + openSUSE Tumbleweed BCI %OS_VERSION% Busybox Container Image + + + + + + + + + + + + + + + 15.Tumbleweed.0 + zypper + false + true + + + + + + + + + + + + \ No newline at end of file diff --git a/config.sh b/config.sh new file mode 100644 index 0000000..5815530 --- /dev/null +++ b/config.sh @@ -0,0 +1,30 @@ +#!/bin/sh +# 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 + +sed -i 's|/bin/bash|/bin/sh|' /etc/passwd + +#======================================= +# Clean up after zypper if it is present +#--------------------------------------- +if command -v zypper > /dev/null; then + zypper -n clean +fi + +rm -rf /var/log/zypp + +exit 0