base-passwd: let bash be the default shell for root
* we prefer bash in our images anyway * makes default configuration more simple Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
3
appends/oe-core/base-passwd_%.bbappend
Normal file
3
appends/oe-core/base-passwd_%.bbappend
Normal file
@@ -0,0 +1,3 @@
|
||||
do_install_append() {
|
||||
sed -i 's|root::0:0:root:/home/root:/bin/sh|root::0:0:root:/home/root:/bin/bash|' ${D}${datadir}/${BPN}/passwd.master
|
||||
}
|
||||
@@ -7,6 +7,7 @@ IMAGE_INSTALL += " \
|
||||
${ROOTFS_PKGMANAGE} \
|
||||
update-alternatives-opkg \
|
||||
coreutils \
|
||||
bash \
|
||||
bash-completion \
|
||||
systemd-bash-completion \
|
||||
systemd-analyze \
|
||||
|
||||
Reference in New Issue
Block a user