]> code.ossystems Code Review - openembedded-core.git/commit
sudo.inc: Add do_install_prepend () to sudo.inc
authorXiaofeng Yan <xiaofeng.yan@windriver.com>
Mon, 30 May 2011 11:27:45 +0000 (19:27 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Jun 2011 17:32:29 +0000 (18:32 +0100)
commit16bbeb2d866a07abd5379d1de30f2b747e1693fe
treefef78ddc1750735f78d7534f215a787ac9791ed1
parent00c3c065aebe688abf5dbc3cda43840ff002a9e0
sudo.inc: Add do_install_prepend () to sudo.inc

Fix bug [YOCTO #1092]
Own a directory "/var/lib" before do_install() because if there isn't this directory during installing, \
then script "mkinstalldirs" from "sudo package" will create directory "/var/lib/sudo" by recursion with mode "0700" \
which will cause bug [YOCTO #1092]. So I add do_install_prepend() to create a "/var/lib" which can be accessed \
by common user before installing files.

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
meta/recipes-extended/sudo/sudo.inc