openwrt/package
Tony Ambardar d40de11d1b 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:20 +01:00
..
base-files base-files: fix prerm return value, align with postinst code 2018-11-29 11:54:20 +01:00
boot uboot-lantiq: fix compatibility with gcc7 2018-09-26 20:36:32 +02:00
devel perf: restrict libunwind dependency to archs that actually support libunwind 2018-02-25 17:03:42 +01:00
firmware firmware: intel-microcode: bump to 20180703 2018-08-09 00:45:39 +02:00
kernel mac80211: fix spurious disconnections with powersave clients 2018-11-13 21:18:29 +01:00
libs uclient: update to latest Git head 2018-11-24 20:15:38 +01:00
network uhttpd: update to latest Git head 2018-11-28 12:58:00 +01:00
system rpcd: update to latest git HEAD 2018-08-16 09:51:15 +02:00
utils e2fsprogs: fix glibc compile issue (FS#1749,FS#1796) 2018-10-08 21:25:09 +02:00
Makefile imagebuilder: reuse rootfs preparation from rootfs.mk 2018-03-07 09:59:08 +01:00