openwrt/package
Tony Ambardar e42415723b base-files: fix prerm return value, align with postinst code
The return value of a package prerm script is discarded and not returned
correctly by default_prerm(). This allows other operations like service
shutdown to "leak" their return value, prompting workarounds like commit
48cfc826 which do not address the root cause.

Preserve a package prerm script return value for use by default_prerm(),
sharing the corresponding code from default_postinst() for consistency.
Also use consistent code for handling of /etc/init.d/ scripts.

Run Tested on: LEDE 17.01.4 running ar71xx.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
(cherry picked from commit 8806da86f5)
2018-11-29 11:54:46 +01:00
..
base-files base-files: fix prerm return value, align with postinst code 2018-11-29 11:54:46 +01:00
boot grub2: rebase patches 2018-08-30 14:10:54 +02:00
devel perf: restrict libunwind dependency to archs that actually support libunwind 2018-02-25 17:07:32 +01:00
firmware firmware: amd64-microcode: update to 20180524 2018-08-09 01:04:18 +02:00
kernel mac80211: brcmfmac: add 2 more recent changes 2018-11-09 23:24:11 +01:00
libs uclient: update to latest Git head 2018-11-24 20:16:06 +01:00
network uhttpd: update to latest Git head 2018-11-28 14:51:58 +01:00
system mtd: improve check for TRX header being already fixed 2018-07-17 07:17:48 +02:00
utils bzip2: Fix CVE-2016-3189 2018-08-30 13:15:06 +02:00
Makefile build: fix triggering opkg/host compilation 2017-04-09 15:42:20 +02:00