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:
parent
e8665c22db
commit
6d52a15047
@ -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
|
@ -18,4 +18,13 @@ fi
|
|||||||
|
|
||||||
sed -i 's|/bin/bash|/bin/sh|' /etc/passwd
|
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
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user