Hello community, here is the log from the commit of package toolbox for openSUSE:Factory checked in at 2019-10-17 12:18:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/toolbox (Old) and /work/SRC/openSUSE:Factory/.toolbox.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "toolbox" Thu Oct 17 12:18:10 2019 rev:2 rq:738325 version:1.0+git20191014.3034fbc Changes: -------- --- /work/SRC/openSUSE:Factory/toolbox/toolbox.changes 2019-10-07 14:14:30.794824402 +0200 +++ /work/SRC/openSUSE:Factory/.toolbox.new.2352/toolbox.changes 2019-10-17 12:18:12.043787731 +0200 @@ -1,0 +2,6 @@ +Mon Oct 14 12:40:00 UTC 2019 - ku...@suse.com + +- Update to version 1.0+git20191014.3034fbc: + * Make default shell configureable, use /bin/bash as default + +------------------------------------------------------------------- Old: ---- microos-toolbox-1.0+git20191007.e038337.tar.xz New: ---- microos-toolbox-1.0+git20191014.3034fbc.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ toolbox.spec ++++++ --- /var/tmp/diff_new_pack.m0vS5D/_old 2019-10-17 12:18:13.163784921 +0200 +++ /var/tmp/diff_new_pack.m0vS5D/_new 2019-10-17 12:18:13.163784921 +0200 @@ -17,7 +17,7 @@ Name: toolbox -Version: 1.0+git20191007.e038337 +Version: 1.0+git20191014.3034fbc Release: 0 Summary: Script to start a toolbox container for system debugging License: Apache-2.0 ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.m0vS5D/_old 2019-10-17 12:18:13.207784811 +0200 +++ /var/tmp/diff_new_pack.m0vS5D/_new 2019-10-17 12:18:13.207784811 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">git://github.com/thkukuk/microos-toolbox.git</param> - <param name="changesrevision">e038337d9db321df399d4a4ea03d1cf0cbec9635</param> + <param name="changesrevision">3034fbcdb4e1df26a02a9466cbf96a156f1d6dbe</param> </service> </servicedata> \ No newline at end of file ++++++ microos-toolbox-1.0+git20191007.e038337.tar.xz -> microos-toolbox-1.0+git20191014.3034fbc.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/microos-toolbox-1.0+git20191007.e038337/toolbox new/microos-toolbox-1.0+git20191014.3034fbc/toolbox --- old/microos-toolbox-1.0+git20191007.e038337/toolbox 2019-10-07 10:21:23.000000000 +0200 +++ new/microos-toolbox-1.0+git20191014.3034fbc/toolbox 2019-10-14 14:39:14.000000000 +0200 @@ -23,6 +23,7 @@ IMAGE=opensuse/toolbox TOOLBOX_NAME=toolbox-"${USER}" TOOLBOXRC="${HOME}"/.toolboxrc +TOOLBOX_SHELL="/bin/bash" SUDO= setup() { @@ -143,11 +144,13 @@ - REGISTRY: The registry to pull from. Default: $REGISTRY - IMAGE: The image and tag from the registry to pull. Default: $IMAGE - TOOLBOX_NAME: The name to use for the local container. Default: $TOOLBOX_NAME +- TOOLBOX_SHELL: Standard shell if no other commands are given. Default: $TOOLBOX_SHELL Example toolboxrc: REGISTRY=my.special.registry.example.com IMAGE=debug:latest -TOOLBOX_NAME=special-debug-container" +TOOLBOX_NAME=special-debug-container +TOOLBOX_SHELL=/bin/bash" } main() { @@ -163,10 +166,11 @@ SUDO=sudo fi - if [ ! -n "$*" ]; then - set /bin/sh "$@" + if [ -z "$*" ]; then + run ${TOOLBOX_SHELL} + else + run "$@" fi - run "$@" cleanup }