diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-11-22 21:10:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-24 15:12:30 +0000 |
commit | 002f48337737a746116fa69cb89c9a9e6b61bd92 (patch) | |
tree | 29e97e315938a3497f100fe1051ac69ea49f940f /meta/recipes-devtools/opkg/opkg/opkg-no-sync-offline.patch | |
parent | 9f836a4595dc4524ebd95db02165ef28dda51010 (diff) | |
download | poky-002f48337737a746116fa69cb89c9a9e6b61bd92.tar.gz |
opkg: bump SRCREV and drop applied patches
* only change upstream which wasn't in oe-core is
http://code.google.com/p/opkg/source/detail?r=635
and added testcase for that
(From OE-Core rev: 5fd1d515db5966f45a3b2f936f3c4225f59186e2)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg/opkg-no-sync-offline.patch')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg/opkg-no-sync-offline.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/meta/recipes-devtools/opkg/opkg/opkg-no-sync-offline.patch b/meta/recipes-devtools/opkg/opkg/opkg-no-sync-offline.patch deleted file mode 100644 index b1b3453484..0000000000 --- a/meta/recipes-devtools/opkg/opkg/opkg-no-sync-offline.patch +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | When installing into an offline root, calling sync() is pointless and just | ||
2 | hurts performance. Don't let's do that. | ||
3 | |||
4 | Signed-off-by: Phil Blundell <philb@gnu.org> | ||
5 | Upstream-Status: Pending | ||
6 | |||
7 | --- a/libopkg/opkg_cmd.c 2011-09-08 10:53:07.000000000 +0100 | ||
8 | +++ b/libopkg/opkg_cmd.c 2011-10-04 10:45:22.278615584 +0100 | ||
9 | @@ -64,7 +64,8 @@ write_status_files_if_changed(void) | ||
10 | opkg_msg(INFO, "Writing status file.\n"); | ||
11 | opkg_conf_write_status_files(); | ||
12 | pkg_write_changed_filelists(); | ||
13 | - sync(); | ||
14 | + if (!conf->offline_root) | ||
15 | + sync(); | ||
16 | } else { | ||
17 | opkg_msg(DEBUG, "Nothing to be done.\n"); | ||
18 | } | ||