]> code.ossystems Code Review - openembedded-core.git/commit
opkg: Don't call sync() when installing into an offline root
authorPhil Blundell <philb@gnu.org>
Sat, 29 Sep 2012 12:20:05 +0000 (13:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Oct 2012 10:16:30 +0000 (11:16 +0100)
commitf48a68177510e8f2d4fcc3725a6dfc41a9a8e96b
tree7a88b5ecdbcf302d5c1d75da1f0b0572aaf48b74
parent7ebce895a215b31cf01aea2ac43e554f96ef814f
opkg: Don't call sync() when installing into an offline root

Even when installing onto a live target system, calling sync() during
package installation is of somewhat questionable benefit.  But calling
it on the build host during rootfs construction is certainly useless and
can cause I/O to stall for several seconds on even a moderately sized
host which is clearly not desirable.

(From a patch originally by Mike Crowe.)

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/opkg/opkg/opkg-no-sync-offline.patch [new file with mode: 0644]
meta/recipes-devtools/opkg/opkg_svn.bb