Sync from SUSE:ALP:Source:Standard:1.0 busybox-image revision 7681f6712f20daf717016e15c28965ec
This commit is contained in:
commit
c93c2bd262
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
4
_service
Normal file
4
_service
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="buildtime" name="kiwi_label_helper"/>
|
||||||
|
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||||
|
</services>
|
4
busybox-image.changes
Normal file
4
busybox-image.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 24 13:42:42 UTC 2023 - SUSE Update Bot <bci-internal@suse.de>
|
||||||
|
|
||||||
|
- First version of the Adaptable Linux Platform BusyBox BCI
|
56
busybox-image.kiwi
Normal file
56
busybox-image.kiwi
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- SPDX-License-Identifier: MIT -->
|
||||||
|
|
||||||
|
<!-- OBS-AddTag: alp/bci/bci-busybox:%OS_VERSION_ID_SP% alp/bci/bci-busybox:%OS_VERSION_ID_SP%.%RELEASE% alp/bci/bci-busybox:latest -->
|
||||||
|
<!-- OBS-Imagerepo: obsrepositories:/ -->
|
||||||
|
|
||||||
|
<image schemaversion="6.5" name="busybox-image" xmlns:suse_label_helper="com.suse.label_helper">
|
||||||
|
<description type="system">
|
||||||
|
<author>SUSE LLC</author>
|
||||||
|
<contact>https://www.suse.com/</contact>
|
||||||
|
<specification>Basalt Project BCI Adaptable Linux Platform BusyBox Container Image</specification>
|
||||||
|
</description>
|
||||||
|
<preferences>
|
||||||
|
<type image="docker">
|
||||||
|
<containerconfig
|
||||||
|
name="alp/bci/bci-busybox"
|
||||||
|
tag="%OS_VERSION_ID_SP%"
|
||||||
|
maintainer="SUSE LLC (https://www.suse.com/)"
|
||||||
|
additionaltags="%OS_VERSION_ID_SP%.%RELEASE%,latest">
|
||||||
|
<labels>
|
||||||
|
<suse_label_helper:add_prefix prefix="com.suse.basalt.bci.busybox">
|
||||||
|
<label name="org.opencontainers.image.title" value="Basalt Project BCI Adaptable Linux Platform BusyBox"/>
|
||||||
|
<label name="org.opencontainers.image.description" value="Adaptable Linux Platform BusyBox container based on the SUSE Adaptable Linux Platform (ALP)."/>
|
||||||
|
<label name="org.opencontainers.image.version" value="%OS_VERSION_ID_SP%.%RELEASE%"/>
|
||||||
|
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
|
||||||
|
<label name="org.opencontainers.image.vendor" value="SUSE LLC"/>
|
||||||
|
<label name="org.opencontainers.image.source" value="%SOURCEURL%"/>
|
||||||
|
<label name="org.opencontainers.image.url" value="https://susealp.io/"/>
|
||||||
|
<label name="org.opensuse.reference" value="registry.suse.com/alp/bci/bci-busybox:%OS_VERSION_ID_SP%.%RELEASE%"/>
|
||||||
|
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
|
||||||
|
<label name="com.suse.supportlevel" value="l3"/>
|
||||||
|
<label name="com.suse.image-type" value="sle-bci"/>
|
||||||
|
<label name="com.suse.eula" value="sle-bci"/>
|
||||||
|
<label name="com.suse.release-stage" value="beta"/>
|
||||||
|
<label name="com.suse.lifecycle-url" value="https://www.suse.com/lifecycle"/>
|
||||||
|
</suse_label_helper:add_prefix>
|
||||||
|
</labels>
|
||||||
|
<subcommand execute="/bin/sh"/>
|
||||||
|
</containerconfig>
|
||||||
|
</type>
|
||||||
|
<version>2023</version>
|
||||||
|
<packagemanager>zypper</packagemanager>
|
||||||
|
<rpm-check-signatures>false</rpm-check-signatures>
|
||||||
|
<rpm-excludedocs>true</rpm-excludedocs>
|
||||||
|
</preferences>
|
||||||
|
<repository type="rpm-md">
|
||||||
|
<source path="obsrepositories:/"/>
|
||||||
|
</repository>
|
||||||
|
<packages type="bootstrap">
|
||||||
|
<package name="ALP-dummy-release"/>
|
||||||
|
<package name="busybox"/>
|
||||||
|
<package name="busybox-links"/>
|
||||||
|
<package name="ca-certificates-mozilla-prebuilt"/>
|
||||||
|
</packages>
|
||||||
|
|
||||||
|
</image>
|
34
config.sh
Normal file
34
config.sh
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
# SPDX-FileCopyrightText: (c) 2022-2023 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
|
||||||
|
# Will be recreated by the next rpm(1) run as root user
|
||||||
|
rm -v /usr/lib/sysimage/rpm/Index.db
|
||||||
|
|
||||||
|
|
||||||
|
#=======================================
|
||||||
|
# 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
|
Loading…
Reference in New Issue
Block a user