Thorsten Kukuk 096a235e86 Accepting request 794024 from home:kukuk:container
- Use 'busybox' as 'busybox-container' was dropped
- Convert to use busybox-links
- busybox-container was merged with busybox
- Add kubernetes pause binary
- Use busybox-container, much smaller
- Add subcommand with /bin/sh, as the default /bin/bash does
  not exist
- Fix labels
- Move to official opensuse repository
- Lock root password
- Remove bash, kiwi >= 9.17.35 don't need them anymore
- Add workaround that .kconfig uses bash syntax
- Initial version

OBS-URL: https://build.opensuse.org/request/show/794024
OBS-URL: https://build.opensuse.org/package/show/devel:kubic:containers/tumbleweed-busybox-image?expand=0&rev=15
2020-04-15 06:34:48 +00:00

24 lines
715 B
Bash

#!/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 busybox /usr/bin/rpm
/usr/bin/busybox ln -sf busybox /usr/bin/rpm2cpio
/usr/bin/busybox ln -sf busybox /usr/bin/sh
/usr/bin/busybox ln -sf busybox /bin/sh ../usr/bin/sh
/usr/bin/busybox ln -sf busybox /usr/bin/find
/usr/bin/busybox ln -sf busybox /usr/bin/su
/usr/bin/busybox ln -sf busybox /bin/su ../usr/bin/su
exit 0