Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package toolbox for openSUSE:Factory checked 
in at 2021-04-10 15:26:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/toolbox (Old)
 and      /work/SRC/openSUSE:Factory/.toolbox.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "toolbox"

Sat Apr 10 15:26:21 2021 rev:14 rq:881827 version:2.1+git20210329.d14ac82

Changes:
--------
--- /work/SRC/openSUSE:Factory/toolbox/toolbox.changes  2021-03-24 
16:09:09.739700372 +0100
+++ /work/SRC/openSUSE:Factory/.toolbox.new.2401/toolbox.changes        
2021-04-10 15:26:47.554337184 +0200
@@ -1,0 +2,7 @@
+Mon Mar 29 09:36:19 UTC 2021 - ku...@suse.com
+
+- Update to version 2.1+git20210329.d14ac82:
+  * Fix localtime and mount sys, e.g., for tracing
+  * Fix 'toolbox list' returning an error code even if working
+
+-------------------------------------------------------------------

Old:
----
  microos-toolbox-2.1+git20210311.15cb3ad.tar.xz

New:
----
  microos-toolbox-2.1+git20210329.d14ac82.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ toolbox.spec ++++++
--- /var/tmp/diff_new_pack.h6WUfl/_old  2021-04-10 15:26:48.246337998 +0200
+++ /var/tmp/diff_new_pack.h6WUfl/_new  2021-04-10 15:26:48.250338003 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           toolbox
-Version:        2.1+git20210311.15cb3ad
+Version:        2.1+git20210329.d14ac82
 Release:        0
 Summary:        Script to start a toolbox container for system debugging
 License:        Apache-2.0

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.h6WUfl/_old  2021-04-10 15:26:48.282338041 +0200
+++ /var/tmp/diff_new_pack.h6WUfl/_new  2021-04-10 15:26:48.282338041 +0200
@@ -1,6 +1,6 @@
 <servicedata>
   <service name="tar_scm">
     <param 
name="url">git://github.com/kubic-project/microos-toolbox.git</param>
-    <param 
name="changesrevision">15cb3adef516e0167737a407734c03e48ac4cf1a</param>
+    <param 
name="changesrevision">02495cfc046e00ca08e8642bf807423257edafc6</param>
  </service>
 </servicedata>
\ No newline at end of file

++++++ microos-toolbox-2.1+git20210311.15cb3ad.tar.xz -> 
microos-toolbox-2.1+git20210329.d14ac82.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microos-toolbox-2.1+git20210311.15cb3ad/toolbox 
new/microos-toolbox-2.1+git20210329.d14ac82/toolbox
--- old/microos-toolbox-2.1+git20210311.15cb3ad/toolbox 2021-03-11 
14:46:14.000000000 +0100
+++ new/microos-toolbox-2.1+git20210329.d14ac82/toolbox 2021-03-29 
11:34:23.000000000 +0200
@@ -162,6 +162,7 @@
 
 list() {
     ${SUDO} podman ps --all
+    exit $?
 }
 
 container_create() {
@@ -173,7 +174,9 @@
                  --security-opt label=disable ${CREATE_AS_USER} \
                  --volume /:/media/root:rslave \
                  --volume /dev:/dev:rslave \
+                 --volume /sys:/sys:rslave \
                  --volume /etc/machine-id:/etc/machine-id:ro \
+                 --volume /etc/localtime:/etc/localtime:ro \
                  "$TOOLBOX_IMAGE" sleep +Inf 2>&1; then
         echo "$0: failed to create container '$TOOLBOX_NAME'"
         exit 1
@@ -335,6 +338,12 @@
         esac
     done
 
+    # Handle list before setting up the cleanup trap, as we won't need
+    # to try to stop the container, in that case
+    if [ "$COMMAND" == "list" ]; then
+        list
+    fi
+
     # Don't call trap before, else we will cleanup stuff
     # where nothing is to cleanup and report wrong error
     trap cleanup EXIT
@@ -370,9 +379,6 @@
     fi
 
     case $COMMAND in
-        list)
-            list
-            ;;
         create)
             create
             ;;

Reply via email to