diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2016-12-09 16:04:49 -0800 |
---|---|---|
committer | Florian Fainelli <florian.fainelli@broadcom.com> | 2017-01-24 11:07:45 -0800 |
commit | 25e2cf392a7ff6c3ba6aee2ab1fa64d42f076776 (patch) | |
tree | 676bbf4bc8f0bdad7398eb530bd890d13d1b6609 /target | |
parent | 86ccaf4c18dabec9761e71a31d1456611cf1cdf9 (diff) | |
download | upstream-25e2cf392a7ff6c3ba6aee2ab1fa64d42f076776.tar.gz upstream-25e2cf392a7ff6c3ba6aee2ab1fa64d42f076776.tar.bz2 upstream-25e2cf392a7ff6c3ba6aee2ab1fa64d42f076776.zip |
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>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions