mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
base-files: remove invalid entries from /etc/shells
It's more reasonable and secure to keep /etc/shells a minimal file, and then entries for valid shells be added dynamically to the system, only if the packages that provide them are supported. (From OE-Core rev: a1d6b55bfa5daa9ba5fa9a7a99dd8872284b6ad8) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,8 +1,2 @@
|
|||||||
# /etc/shells: valid login shells
|
# /etc/shells: valid login shells
|
||||||
/bin/sh
|
/bin/sh
|
||||||
/bin/ash
|
|
||||||
/bin/bash
|
|
||||||
/bin/dash
|
|
||||||
/bin/ksh
|
|
||||||
/usr/bin/ksh
|
|
||||||
/usr/bin/screen
|
|
||||||
|
|||||||
@@ -143,5 +143,5 @@ FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses"
|
|||||||
|
|
||||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
CONFFILES_${PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname'][(d.getVar('hostname', True) != '')]}"
|
CONFFILES_${PN} = "${sysconfdir}/fstab ${@['', '${sysconfdir}/hostname'][(d.getVar('hostname', True) != '')]} ${sysconfdir}/shells"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user