]> code.ossystems Code Review - openembedded-core.git/commit
classes/libc-package: remove pointless copying when running localedef
authorRoss Burton <ross.burton@intel.com>
Tue, 5 Jul 2016 16:41:24 +0000 (17:41 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 10 Jul 2016 13:12:07 +0000 (14:12 +0100)
commit016e4a53e3251ffcdb3c260dd2837507b520ffa6
treead8e7dd030291e1bf3c638ddf3c36eb4089a0f73
parent6483fbe70e52ec9a53c918fe81162fd0c566f80f
classes/libc-package: remove pointless copying when running localedef

localedef handles attempts to read/write the archive in parallel correctly by
creating the file atomically, gracefully handling racing to create, and has
exclusive locks when writing.  Therefore I can't see any purpose to copying the
archive to /tmp and back again when manipulating it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/libc-package.bbclass