Accepting request 973639 from home:dancermak:auto_update:TW

fix default shell of root to sh instead of bash

OBS-URL: https://build.opensuse.org/request/show/973639
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/busybox-image?expand=0&rev=2
This commit is contained in:
Dirk Mueller 2022-05-02 07:27:18 +00:00 committed by Git OBS Bridge
parent e8665c22db
commit 6d52a15047
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Apr 28 10:24:27 UTC 2022 - Dan Čermák <dcermak@suse.com>
- fix default shell of root to sh instead of bash

View File

@ -18,4 +18,13 @@ fi
sed -i 's|/bin/bash|/bin/sh|' /etc/passwd
#=======================================
# 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