]> code.ossystems Code Review - openembedded-core.git/commitdiff
base-files: remove invalid entries from /etc/shells
authorMing Liu <ming.liu@windriver.com>
Tue, 22 Oct 2013 03:11:59 +0000 (11:11 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Oct 2013 14:53:25 +0000 (15:53 +0100)
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.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/base-files/base-files/shells
meta/recipes-core/base-files/base-files_3.0.14.bb

index ce39b3dde71fceeb42742eb224478e80e5a61797..3f639874d8cc7f1d7fbc9150c23e91eae942169d 100644 (file)
@@ -1,8 +1,2 @@
 # /etc/shells: valid login shells
 /bin/sh
-/bin/ash
-/bin/bash
-/bin/dash
-/bin/ksh
-/usr/bin/ksh
-/usr/bin/screen
index 054fefa0501a41ca383bc94f510dedba88a93ee3..be3921ab35e303c83a30becdd8e35fdffd418a78 100644 (file)
@@ -143,5 +143,5 @@ FILES_${PN}-doc = "${docdir} ${datadir}/common-licenses"
 
 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"