openwrt/include
Matthias Schiffer 5b99693832
rootfs: fail on errors in postinst scripts
The Gluon firmware framework [1] uses postinst scripts for sanity checks.
Make the build fail when a postinst script exits with an error to make
these sanity checks effective.

All postinst scripts in packages from the LEDE core and the packages feed
seem to work correctly with this change and will always return 0 unless
something is very broken.

[1] https://github.com/freifunk-gluon/gluon

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-09-26 17:57:58 +02:00
..
site toolchain: add support of ARC architecture 2015-11-10 12:03:59 +00:00
autotools.mk include/autotools.mk: fix gettext installation path 2016-01-20 23:21:09 +00:00
cmake.mk include/cmake.mk: fix host builds 2016-07-29 22:47:46 +02:00
debug.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
depends.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
device_table.txt image: ensure that /dev/console exist in rootfs images 2013-08-27 12:02:58 +00:00
download.mk download.mk: use HTTPS for git.lede-project.org 2016-06-01 15:18:42 +02:00
feeds.mk build: move merged package directory from bin/ to staging_dir 2016-08-03 12:22:18 +02:00
hardening.mk hardening: make override variables more intuitive 2015-06-24 10:57:14 +00:00
host-build.mk build: pass $(STAGING_DIR_HOST) to Host/Install 2016-08-23 11:56:13 +02:00
host.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
image-commands.mk image: remove padding parameter from append-kernel/append-rootfs 2016-09-13 19:36:41 +02:00
image-legacy.mk image: don't modify file permissions before rootfs generation 2016-09-26 17:57:56 +02:00
image.mk rootfs: remove unnecessary and potentially harmful force flags from opkg call 2016-09-26 17:57:58 +02:00
kernel-build.mk kernel: check the right directories for rebuild 2016-08-19 11:02:47 +02:00
kernel-defaults.mk build: use perl instead of GNU date for KBUILD_BUILD_TIMESTAMP 2016-08-23 11:56:13 +02:00
kernel-version.mk kernel: update kernel 4.4 to version 4.4.21 2016-09-16 10:17:27 +02:00
kernel.mk kernel: make the kernel build auto-clean the build dir like package builds 2016-08-05 14:17:08 +02:00
netfilter.mk include/netfilter.mk: fix kmod-ipt-tee build with 4.3/4.4 2015-12-13 18:33:11 +00:00
nls.mk nls.mk: add -rpath-link when needed for NLS support 2015-09-07 08:03:34 +00:00
package-bin.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
package-defaults.mk cmake: include/cmake.mk add CMAKE_BINARY_SUBDIR to allow out of source tree builds 2016-07-29 20:27:34 +02:00
package-dumpinfo.mk include: fix nonshared flag handling 2016-04-15 10:26:36 +02:00
package-ipkg.mk package-ipkg: do not include feeds.mk at metadata dump time to speed up scanning 2016-06-16 11:56:24 +02:00
package-seccomp.mk include: add a seccomp filter install wrapper 2015-03-26 10:57:56 +00:00
package.mk build: don't add -j for parallel builds with Make 4.2+ 2016-06-15 19:26:17 +02:00
prereq-build.mk build: do not depend on svn any more 2016-07-31 16:11:37 +02:00
prereq.mk build: do not overwrite already existing host commands 2015-09-16 12:38:16 +00:00
quilt.mk kernel: make the kernel build auto-clean the build dir like package builds 2016-08-05 14:17:08 +02:00
rootfs.mk rootfs: fail on errors in postinst scripts 2016-09-26 17:57:58 +02:00
scan.awk build: propagate override information to .packageinfo 2015-02-09 12:09:31 +00:00
scan.mk build: ignore the linux package in the sdk only for generating package data, not for dependencies 2016-01-10 16:35:24 +00:00
scons.mk fix up scons vs ccache 2012-07-28 21:06:59 +00:00
shell.sh include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
subdir.mk build: add logging for package host builds 2016-01-20 21:31:56 +00:00
target.mk ubox: move logd into ubox package 2016-08-23 12:19:23 +02:00
toolchain-build.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
toplevel.mk include/toplevel.mk: fix defconfig when ~/.openwrt/defconfig exists - take 2 2016-07-06 10:40:12 +02:00
uclibc++.mk toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues 2013-05-09 20:50:49 +00:00
unpack.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
verbose.mk build: tell users to do non-paralle builds on errors 2015-04-16 12:18:26 +00:00
version.mk base-files: Add standard os-release file 2016-06-24 13:52:53 +02:00