diff options
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 @@ -When installing into an offline root, calling sync() is pointless and just -hurts performance. Don't let's do that. - -Signed-off-by: Phil Blundell <philb@gnu.org> -Upstream-Status: Pending - ---- a/libopkg/opkg_cmd.c 2011-09-08 10:53:07.000000000 +0100 -+++ b/libopkg/opkg_cmd.c 2011-10-04 10:45:22.278615584 +0100 -@@ -64,7 +64,8 @@ write_status_files_if_changed(void) - opkg_msg(INFO, "Writing status file.\n"); - opkg_conf_write_status_files(); - pkg_write_changed_filelists(); -- sync(); -+ if (!conf->offline_root) -+ sync(); - } else { - opkg_msg(DEBUG, "Nothing to be done.\n"); - } |