bash: dynamically add or remove a entry to/from /etc/shells
authorMing Liu <ming.liu@windriver.com>
Tue, 22 Oct 2013 03:12:00 +0000 (11:12 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Oct 2013 14:59:19 +0000 (15:59 +0100)
commitb4d5c972aff0061d1b42ea89d6a33fe609257e7f
tree6e8fbfceef9fe997c1305561b2faf3f5b1dc557c
parent254acb6ed11d9b4a797b2c6145f8c2e0df6f35df
bash: dynamically add or remove a entry to/from /etc/shells

1 Add base-files to RDEPENDS.
2 Use ${base_bindir} in regex to match bash path.
3 Add pkg_postrm to remove the entry from /etc/shells that added by
pkg_postinst.

(From OE-Core rev: c3f93357e2d3ece910ff0e2d18eba3fb94fb5c3c)

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>
meta/recipes-extended/bash/bash.inc