554d2af75c
- Adjust for usrMerge: don't create /bin/su symlink OBS-URL: https://build.opensuse.org/request/show/897245 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:containers/tumbleweed-busybox-image?expand=0&rev=38
20 lines
462 B
Bash
20 lines
462 B
Bash
#!/bin/sh
|
|
|
|
#======================================
|
|
# Functions...
|
|
#--------------------------------------
|
|
test -f /.profile && . /.profile
|
|
|
|
#======================================
|
|
# Greeting...
|
|
#--------------------------------------
|
|
echo "Configure image: [$kiwi_iname]..."
|
|
|
|
# fix shell of root, bash does not exist
|
|
sed -i -e 's|/bin/bash|/bin/sh|g' /etc/passwd
|
|
|
|
# Make sure su is working
|
|
rm /usr/bin/su
|
|
ln /usr/bin/busybox /usr/bin/su
|
|
chmod 4755 /usr/bin/su
|