diff options
author | Julian_chu <julian_chu@openmoko.com> | 2008-07-23 00:05:00 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2008-10-29 13:21:59 +0100 |
commit | 6684c13b56f4b0a910254369ced4536b47afdfe5 (patch) | |
tree | bc231b561428467482db7d9a4e3a1ae4ced18c2b | |
parent | 41cef62881d24b01e9f11b980b62d0f53e754b82 (diff) |
packagekit: Add patch force_depends.patch
Forgot to add this patch in the latest commit
-rw-r--r-- | packages/packagekit/files/force_depends.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/packagekit/files/force_depends.patch b/packages/packagekit/files/force_depends.patch new file mode 100644 index 0000000000..c0a5b0d805 --- /dev/null +++ b/packages/packagekit/files/force_depends.patch @@ -0,0 +1,20 @@ +diff --git a/backends/opkg/pk-backend-opkg.c b/backends/opkg/pk-backend-opkg.c +index a20769f..0b9867e 100644 +--- a/backends/opkg/pk-backend-opkg.c ++++ b/backends/opkg/pk-backend-opkg.c +@@ -451,6 +451,7 @@ backend_remove_packages_thread (PkBackend *backend) + gchar **package_ids; + gboolean allow_deps; + gboolean autoremove; ++ gboolean force_depends=!!1; + gpointer *data; + + data = pk_backend_get_pointer (backend, "remove-params"); +@@ -462,6 +463,7 @@ backend_remove_packages_thread (PkBackend *backend) + + opkg_set_option (opkg, "autoremove", &autoremove); + opkg_set_option (opkg, "force_removal_of_dependent_packages", &allow_deps); ++ opkg_set_option (opkg, "force_depends", &force_depends); + + err = 0; + |