Accepting request 692893 from home:kukuk:container
OBS-URL: https://build.opensuse.org/request/show/692893 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:containers/tumbleweed-busybox-image?expand=0&rev=1
This commit is contained in:
commit
4adf8ab698
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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
10
_service
Normal file
10
_service
Normal file
@ -0,0 +1,10 @@
|
||||
<services>
|
||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||
<service name="replace_using_package_version" mode="buildtime">
|
||||
<param name="file">tumbleweed-busybox-image.kiwi</param>
|
||||
<param name="regex">%%LONG_VERSION%%</param>
|
||||
<param name="parse-version">patch</param>
|
||||
<param name="package">busybox</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="kiwi_label_helper"/>
|
||||
</services>
|
30
config.sh
Normal file
30
config.sh
Normal file
@ -0,0 +1,30 @@
|
||||
#!/usr/bin/busybox sh
|
||||
|
||||
#======================================
|
||||
# Functions...
|
||||
#--------------------------------------
|
||||
# don't source .kconfig, works only with bash
|
||||
#test -f /.kconfig && . /.kconfig
|
||||
test -f /.profile && . /.profile
|
||||
|
||||
#======================================
|
||||
# Greeting...
|
||||
#--------------------------------------
|
||||
echo "Configure image: [$kiwi_iname]..."
|
||||
|
||||
/usr/bin/busybox ln -sf ../usr/bin/busybox /bin/ln
|
||||
/usr/bin/busybox ln -sf ../usr/bin/busybox /bin/rm
|
||||
/usr/bin/busybox ln -sf ../usr/bin/busybox /bin/mkdir
|
||||
/usr/bin/busybox ln -sf ../usr/bin/busybox /bin/chmod
|
||||
/usr/bin/busybox ln -sf busybox /usr/bin/sort
|
||||
/usr/bin/busybox ln -sf busybox /usr/bin/uniq
|
||||
/usr/bin/busybox ln -sf busybox /usr/bin/install
|
||||
/usr/bin/busybox ln -sf busybox /usr/bin/dirname
|
||||
/usr/bin/busybox ln -sf busybox /usr/bin/basename
|
||||
/usr/bin/busybox.install / --symlinks
|
||||
/bin/rm linuxrc
|
||||
/bin/rm /usr/bin/busybox
|
||||
/bin/rm /usr/bin/busybox.install
|
||||
/bin/rm -rf /usr/share/busybox
|
||||
|
||||
exit 0
|
11
tumbleweed-busybox-image.changes
Normal file
11
tumbleweed-busybox-image.changes
Normal file
@ -0,0 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 10 10:37:18 CEST 2019 - kukuk@suse.de
|
||||
|
||||
- Remove bash, kiwi >= 9.17.35 don't need them anymore
|
||||
- Add workaround that .kconfig uses bash syntax
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 13:13:41 CET 2019 - kukuk@suse.de
|
||||
|
||||
- Initial version
|
||||
|
41
tumbleweed-busybox-image.kiwi
Normal file
41
tumbleweed-busybox-image.kiwi
Normal file
@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<image schemaversion="6.5" name="tumbleweed-busybox-image" xmlns:suse_label_helper="com.suse.label_helper">
|
||||
<description type="system">
|
||||
<author>Thorsten Kukuk</author>
|
||||
<contact>kukuk@suse.com</contact>
|
||||
<specification>openSUSE busybox container</specification>
|
||||
</description>
|
||||
<preferences>
|
||||
<type image="docker">
|
||||
<containerconfig
|
||||
name="tumbleweed/busybox"
|
||||
tag="latest"
|
||||
additionaltags="%%LONG_VERSION%%,%%LONG_VERSION%%-%RELEASE%"
|
||||
maintainer="Thorsten Kukuk <kukuk@suse.com>">
|
||||
<labels>
|
||||
<suse_label_helper:add_prefix prefix="org.opensuse.tumbleweed.busybox">
|
||||
<label name="org.opencontainers.title" value="openSUSE Tumbleweed Busybox Container"/>
|
||||
<label name="org.opencontainers.description" value="Small image containing busybox."/>
|
||||
<label name="org.opencontainers.version" value="%%LONG_VERSION%%-%RELEASE%"/>
|
||||
<label name="org.opencontainers.created" value="%BUILDTIME%"/>
|
||||
<label name="org.opencontainers.image.vendor" value="openSUSE Project"/>
|
||||
<label name="org.opencontainers.image.url" value="https://www.opensuse.org/"/>
|
||||
<label name="org.opensuse.reference" value="registry.opensuse.org/opensuse/tumbleweed/busybox:%%LONG_VERSION%%-%RELEASE%"/>
|
||||
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
|
||||
</suse_label_helper:add_prefix>
|
||||
</labels>
|
||||
<history author="Thorsten Kukuk <kukuk@suse.com>">openSUSE Tumbleweed Busybox Container</history>
|
||||
</containerconfig>
|
||||
</type>
|
||||
<version>1.0.0</version>
|
||||
<packagemanager>zypper</packagemanager>
|
||||
<rpm-check-signatures>false</rpm-check-signatures>
|
||||
<rpm-excludedocs>true</rpm-excludedocs>
|
||||
</preferences>
|
||||
<repository>
|
||||
<source path="obsrepositories:/"/>
|
||||
</repository>
|
||||
<packages type="bootstrap">
|
||||
<package name="busybox"/>
|
||||
</packages>
|
||||
</image>
|
Loading…
Reference in New Issue
Block a user