diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-29 17:45:03 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-06-29 17:45:03 +0200 |
commit | 36c8c2eb53bf2fb400f138b2177bea2fe0651d12 (patch) | |
tree | ef72f47c4bdeb175fe38184a87e66502b87e442d /package/base-files/Makefile | |
parent | 2fd97804d7094633451c3fb0ac2ac41d88229c16 (diff) |
optimize ipkg package management
ipkg will automatically mount the normal read-only rootfs as read-write
and after the command back to read-only. ipkg install/remove/upgrades
are only supported for compact disk or disk based systems. On flash systems
better reflash completely.
make a kernel package containing the real kernel.
Adjust ipkg.conf to contain a configurable server adress.
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r-- | package/base-files/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 34807d6a0..26daf87e9 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:= 11 +PKG_RELEASE:= 12 PKG_DESCR:= basic filesystem structure and scripts PKG_SECTION:= base @@ -31,12 +31,9 @@ do-install: ifeq (${ADK_TARGET_ROOTFS_NFSROOT},y) @-rm $(IDIR_BASE_FILES)/etc/network/interfaces endif -ifeq (${ADK_TARGET_PACKAGE_IPKG},y) $(SED) 's,@TARGET@,$(ADK_TARGET),g' $(IDIR_BASE_FILES)/etc/ipkg.conf - $(SED) 's,@VERSION@,$(ADK_VERSION),g' $(IDIR_BASE_FILES)/etc/ipkg.conf -else - @-rm $(IDIR_BASE_FILES)/etc/ipkg.conf -endif + $(SED) 's,@HOST@,$(ADK_HOST),g' $(IDIR_BASE_FILES)/etc/ipkg.conf + $(SED) 's,@LIBC@,$(ADK_LIBC),g' $(IDIR_BASE_FILES)/etc/ipkg.conf echo /bin/sh >${IDIR_BASE_FILES}/etc/shells echo /bin/ash >>${IDIR_BASE_FILES}/etc/shells ifneq (${ADK_PACKAGE_BASH},) |