diff options
author | Phil Blundell <philb@gnu.org> | 2012-09-29 13:20:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-02 11:40:51 +0100 |
commit | 31dec3c6d3862dedeab96b1601bc0f2d7190dd85 (patch) | |
tree | aa9ab6151a73bcb31d400339c6ede00c71cc3d0e /meta/recipes-devtools/opkg/opkg_svn.bb | |
parent | 97160f8e92af94640692846997b5f242067fb3bc (diff) | |
download | poky-31dec3c6d3862dedeab96b1601bc0f2d7190dd85.tar.gz |
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.)
(From OE-Core rev: f48a68177510e8f2d4fcc3725a6dfc41a9a8e96b)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg_svn.bb')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg_svn.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg/opkg_svn.bb b/meta/recipes-devtools/opkg/opkg_svn.bb index d89a3f6c66..59bb2d94e2 100644 --- a/meta/recipes-devtools/opkg/opkg_svn.bb +++ b/meta/recipes-devtools/opkg/opkg_svn.bb | |||
@@ -11,6 +11,7 @@ SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;protocol=http \ | |||
11 | file://0008-select_higher_version.patch \ | 11 | file://0008-select_higher_version.patch \ |
12 | file://0009-pkg_depends-fix-version-constraints.patch \ | 12 | file://0009-pkg_depends-fix-version-constraints.patch \ |
13 | file://0010-pkg_depends-fix-version_constraints_satisfied.patch \ | 13 | file://0010-pkg_depends-fix-version_constraints_satisfied.patch \ |
14 | file://opkg-no-sync-offline.patch \ | ||
14 | " | 15 | " |
15 | 16 | ||
16 | S = "${WORKDIR}/trunk" | 17 | S = "${WORKDIR}/trunk" |
@@ -18,4 +19,4 @@ S = "${WORKDIR}/trunk" | |||
18 | SRCREV = "633" | 19 | SRCREV = "633" |
19 | PV = "0.1.8+svnr${SRCPV}" | 20 | PV = "0.1.8+svnr${SRCPV}" |
20 | 21 | ||
21 | PR = "${INC_PR}.5" | 22 | PR = "${INC_PR}.6" |