openwrtv4/include
Florian Fainelli 25e2cf392a package-ipkg: Do not fail build without base-files
If the base-files package is not selected, we will fail executing the
very first postinst script:

make[3]: Leaving directory `/local/users/fainelli/openwrt/trunk'
cp -fpR
/local/users/fainelli/openwrt/trunk/build_dir/target-arm_xscale_musl-1.1.15_eabi/root-orion
/local/users/fainelli/openwrt/trunk/build_dir/target-arm_xscale_musl-1.1.15_eabi/root.orig-orion
./usr/lib/opkg/info/busybox.postinst: line 3:
/local/users/fainelli/openwrt/trunk/build_dir/target-arm_xscale_musl-1.1.15_eabi/root-orion/lib/functions.sh:
No such file or directory
./usr/lib/opkg/info/busybox.postinst: line 4: default_postinst: command
not found
postinst script ./usr/lib/opkg/info/busybox.postinst has failed with
exit code 127
make[2]: *** [package/install] Error 1

Check for the existence of lib/functions.sh, and if it does not exist,
just bail out gracefully.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-01-24 11:07:45 -08:00
..
site toolchain: add support of ARC architecture 2015-11-10 12:03:59 +00:00
autotools.mk build: move STAGING_DIR_HOSTPKG and BUILD_DIR_HOST back to a common directory for all targets 2017-01-18 19:47:36 +01:00
cmake.mk build: move STAGING_DIR_HOSTPKG and BUILD_DIR_HOST back to a common directory for all targets 2017-01-18 19:47:36 +01:00
debug.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
depends.mk build: stage unstripped packages inside PKG_BUILD_DIR 2017-01-18 23:57:08 +01:00
device_table.txt image: ensure that /dev/console exist in rootfs images 2013-08-27 12:02:58 +00:00
download.mk build: let make check warn about use of legacy PKG_MD5SUM variable in feeds 2017-01-13 10:23:43 +01:00
feeds.mk include/feeds.mk: base list of enabled feeds on available instead of installed feeds 2017-01-16 09:11:56 +01:00
hardening.mk hardening: make override variables more intuitive 2015-06-24 10:57:14 +00:00
host-build.mk build: fix CONFIG_AUTOREMOVE for packages with multiple variants 2017-01-22 17:40:31 +01:00
host.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
image-commands.mk image.mk: use LINUX_KARCH rather than ARCH for mkits 2017-01-13 14:54:11 +01:00
image-legacy.mk build: fix build of ubifs images 2017-01-09 16:31:39 +01:00
image.mk image.mk: add generic function for gzipping images if enabled 2017-01-13 16:59:28 +01:00
kernel-build.mk git-kernel: $(SUBDIR) should always be $(LINUX_VERSION) 2017-01-18 21:03:26 +01:00
kernel-defaults.mk build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
kernel-version.mk kernel: update 4.4 kernel to 4.4.42 2017-01-13 23:05:36 +01:00
kernel.mk kernel: allow subtarget specific KernelPackage 2017-01-04 13:20:19 +01:00
netfilter.mk kernel: netfilter: split out iptable_raw into a separate package 2016-12-14 12:13:14 +01:00
nls.mk nls.mk: add -rpath-link when needed for NLS support 2015-09-07 08:03:34 +00:00
package-bin.mk build: use if-then to avoid non-zero return codes in bin/ packaging code 2017-01-23 13:49:45 +01:00
package-defaults.mk build: copy contents of 'src' folder to build dirs (if present) 2016-10-15 11:36:51 +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 fail build without base-files 2017-01-24 11:07:45 -08:00
package-seccomp.mk include: add a seccomp filter install wrapper 2015-03-26 10:57:56 +00:00
package.mk build: make the touch .autoremove call non-fatal 2017-01-24 13:55:55 +01:00
prereq-build.mk build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
prereq.mk build: do not overwrite already existing host commands 2015-09-16 12:38:16 +00:00
quilt.mk build: disable CONFIG_AUTOREMOVE for packages/tools where QUILT is used 2017-01-19 13:30:22 +01:00
rootfs.mk include/rootfs.mk: keep Require-User lines with CONFIG_CLEAN_IPKG 2017-01-24 17:18:36 +01:00
scan.awk build: propagate override information to .packageinfo 2015-02-09 12:09:31 +00:00
scan.mk build: scan.mk: consider KernelPackage pattern as well 2017-01-10 16:26:55 +01:00
scons.mk build: use CXXFLAGS if defined 2016-10-13 17:04:43 +02:00
shell.sh build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
subdir.mk build: fix CONFIG_AUTOREMOVE for packages with multiple variants 2017-01-22 17:40:31 +01:00
target.mk x86: unify CPU_TYPE for legacy and geode 2017-01-24 13:15:01 +01:00
toolchain-build.mk build: extend CONFIG_AUTOREMOVE to tools/ 2017-01-18 23:57:09 +01:00
toplevel.mk build: ensure that prereq-build is run before metadata scan from feeds (FS#367) 2017-01-05 11:50:40 +01:00
u-boot.mk build: add generic build template for u-boot packages 2017-01-24 16:21:24 +01: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 build: unzip: perform operations quietly 2017-01-05 11:09:13 +01:00
verbose.mk build: tell users to do non-paralle builds on errors 2015-04-16 12:18:26 +00:00
version.mk build: use SNAPSHOT instead of CURRENT to designate untagged branch builds 2016-12-14 18:43:49 +01:00