Sync from SUSE:ALP:Source:Standard:1.0 minimal-image revision d0589c44d72cc75dfc984891ce963f2a

This commit is contained in:
Adrian Schröter 2023-09-14 09:44:42 +02:00
commit 8e652f6908
5 changed files with 128 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1,4 @@
<services>
<service mode="buildtime" name="kiwi_label_helper"/>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
</services>

37
config.sh Normal file
View File

@ -0,0 +1,37 @@
#!/bin/bash
# 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
#==========================================
# Remove compat-usrmerge-tools if installed
#------------------------------------------
if rpm -q compat-usrmerge-tools; then
rpm -e compat-usrmerge-tools
fi
#=======================================
# 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

4
minimal-image.changes Normal file
View 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 Minimal BCI

60
minimal-image.kiwi Normal file
View File

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- SPDX-License-Identifier: MIT -->
<!-- OBS-AddTag: alp/bci/bci-minimal:%OS_VERSION_ID_SP% alp/bci/bci-minimal:%OS_VERSION_ID_SP%.%RELEASE% alp/bci/bci-minimal:latest -->
<!-- OBS-Imagerepo: obsrepositories:/ -->
<image schemaversion="6.5" name="minimal-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 Minimal Container Image</specification>
</description>
<preferences>
<type image="docker" derived_from="obsrepositories:/alp/bci/bci-micro#latest">
<containerconfig
name="alp/bci/bci-minimal"
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.minimal">
<label name="org.opencontainers.image.title" value="Basalt Project BCI Adaptable Linux Platform Minimal"/>
<label name="org.opencontainers.image.description" value="Adaptable Linux Platform Minimal 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-minimal:%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>
</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="delete">
<package name="grep"/>
<package name="diffutils"/>
<package name="info"/>
<package name="fillup"/>
<package name="libzio1"/>
</packages>
<packages type="bootstrap">
<package name="ALP-dummy-release"/>
<package name="rpm"/>
</packages>
</image>