libs/ipkg: don't --autoremove; its dangeros. Attempting to uninstall kmod-ipt-nat with it will remove half of luci too, additionally opkg segfaults and corrupts the status database
This commit is contained in:
parent
af4afea77f
commit
55297447cd
1 changed files with 1 additions and 2 deletions
|
@ -23,7 +23,7 @@ local pairs = pairs
|
||||||
local error = error
|
local error = error
|
||||||
local table = table
|
local table = table
|
||||||
|
|
||||||
local ipkg = "opkg --force-removal-of-dependent-packages --force-overwrite --autoremove"
|
local ipkg = "opkg --force-removal-of-dependent-packages --force-overwrite"
|
||||||
local icfg = "/etc/opkg.conf"
|
local icfg = "/etc/opkg.conf"
|
||||||
|
|
||||||
--- LuCI OPKG call abstraction library
|
--- LuCI OPKG call abstraction library
|
||||||
|
@ -229,4 +229,3 @@ function overlay_root()
|
||||||
|
|
||||||
return od
|
return od
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue