summaryrefslogtreecommitdiff
path: root/packages/packagekit
diff options
context:
space:
mode:
Diffstat (limited to 'packages/packagekit')
-rw-r--r--packages/packagekit/files/force_depends.patch20
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;
+