summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-02-17 19:38:08 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-02-17 19:38:08 +0100
commit9134dc9887476e126e431f3ad38b70ba27a68bcc (patch)
tree28aadf64acb649bbc0ba9d0de52b8c2f658fc759 /package/base-files
parent48c615f73267de76881ec01e88ea9a3e3ff660a6 (diff)
fix installations of big packages with ipkg for some systems, like raspberry pi
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 10e914178..06b4ce766 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
-PKG_RELEASE:= 64
+PKG_RELEASE:= 65
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
PKG_BUILDDEP:= pkgconf-host file-host
@@ -95,6 +95,12 @@ ifneq (${ADK_PACKAGE_CONFIG_IN_ETC},)
endif
ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y)
echo 'export LD_LIBRARY_PATH=/opt/vc/lib' >> $(IDIR_BASE_FILES)/etc/profile
+ifneq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI)$(ADK_TARGET_SYSTEM_IBM_X40)$(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),)
+ echo 'export IPKGTMPDIR=/root/.ipkg' >> $(IDIR_BASE_FILES)/etc/profile
+else
+ echo 'export IPKGTMPDIR=/tmp >> $(IDIR_BASE_FILES)/etc/profile
+endif
+
endif
# simple network configuration