populate_sdk_base: fix directory creation as normal user
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Wed, 5 Dec 2012 11:00:00 +0000 (13:00 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Dec 2012 15:26:40 +0000 (15:26 +0000)
commitcfc689bb731da2701d974b7d8cbebc20cd5bb8cf
tree99ffe526d094b0d7359542dadd2879fd0bb2711a
parent8fcf1261ebf69da9a73ad0ef1d14085f3a090a68
populate_sdk_base: fix directory creation as normal user

My previous patch removed the mkdir and added it at the end of the
"gaining SUDO rights" block in order to fix directory creation when
installing in a location without proper rights. Unfortunately this
messed up the directory creation as normal user as it will ask for
sudo right in order to create it...

Hopefully, this will fix both cases.

(From OE-Core rev: 86286287d0134ade73f6a282158dde86bf0159e8)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass