openwrt-owl/include
Florian Fainelli 4d561b3a30 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-02-01 16:07:30 +01:00
..
site toolchain: add support of ARC architecture 2015-11-10 12:03:59 +00:00
autotools.mk include/autotools.mk: use STAGING_DIR_HOSTPKG where appropriate 2017-01-14 18:57:13 +01:00
cmake.mk build: use CXXFLAGS if defined 2016-10-13 17:04:43 +02:00
debug.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
depends.mk build: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +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: properly pass CPP and CXX flags in HOST_MAKE_VARS 2017-02-01 16:03:57 +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-19 12:34:04 +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 include: remove trailing whitespaces 2015-03-29 07:29:18 +00: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-02-01 16:07:30 +01:00
package-seccomp.mk include: add a seccomp filter install wrapper 2015-03-26 10:57:56 +00:00
package.mk build: remove obsolete parallel build related options 2017-01-10 12:10:20 +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: use mkhash to replace various quirky md5sum/openssl calls 2017-01-05 11:09:12 +01:00
rootfs.mk include/rootfs.mk: keep Require-User lines with CONFIG_CLEAN_IPKG 2017-01-27 10:09:50 +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: implement make check and make package/X/check 2016-12-17 10:36:25 +01:00
target.mk x86: unify CPU_TYPE for legacy and geode 2017-01-24 13:35:47 +01:00
toolchain-build.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00: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
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 LEDE v17.01: set branch defaults 2017-01-16 18:56:07 +01:00