[procps] vm.min_free_kbytes is removed in sysctl.conf"
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-devtools / opkg / opkg / 0001-Fixed-opkg-losing-auto_installed-flag-on-upgrading.patch
1 Upstream-Status: Backport
2
3 From 319d02609992273e887242ed9788db68d3310b6c Mon Sep 17 00:00:00 2001
4 From: "pixdamix@gmail.com"
5  <pixdamix@gmail.com@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
6 Date: Thu, 19 Jan 2012 13:52:06 +0000
7 Subject: [PATCH 01/10] Fixed opkg losing auto_installed flag on upgrading
8
9 Thanks-to: Christian Hitz <christian.hitz@aizo.com>
10
11 git-svn-id: http://opkg.googlecode.com/svn/trunk@635 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
12 ---
13  libopkg/opkg_install.c |    3 +++
14  1 file changed, 3 insertions(+)
15
16 diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c
17 index 74a2ce1..3925f58 100644
18 --- a/libopkg/opkg_install.c
19 +++ b/libopkg/opkg_install.c
20 @@ -1449,6 +1449,9 @@ opkg_install_pkg(pkg_t *pkg, int from_upgrade)
21                 /* removing files from old package, to avoid ghost files */
22                 remove_data_files_and_list(old_pkg);
23                 remove_maintainer_scripts(old_pkg);
24 +
25 +               /* maintain the "Auto-Installed: yes" flag */
26 +               pkg->auto_installed = old_pkg->auto_installed;
27           }
28  
29  
30 -- 
31 1.7.9.5
32