diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-23 21:05:46 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-23 21:05:46 +0100 |
commit | 8eb8b85f894eae8a7dcd85a1d821e875b8875ce5 (patch) | |
tree | 2f1c260ca4efbe313f3f557e31cb18d8aad94172 /package/base-files/Makefile | |
parent | 0221cc4264b0516f055efcdd2455ba880b53aa8c (diff) |
add runtime option for inittab configuration
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r-- | package/base-files/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 7786cdf83..af8b2165f 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:= 32 +PKG_RELEASE:= 33 PKG_SECTION:= base PKG_DESCR:= basic files and scripts @@ -62,6 +62,14 @@ endif ln -sf ../proc/mounts $(IDIR_BASE_FILES)/etc/mtab rm -rf $(IDIR_BASE_FILES)/var ln -sf tmp $(IDIR_BASE_FILES)/var + test -z $(ADK_RUNTIME_CONSOLE_VGA) || \ + cat ./files/inittab.vga >> $(IDIR_BASE_FILES)/etc/inittab + test -z $(ADK_RUNTIME_CONSOLE_SERIAL) || \ + cat ./files/inittab.serial >> $(IDIR_BASE_FILES)/etc/inittab + test -z $(ADK_RUNTIME_CONSOLE_BOTH) || \ + cat ./files/inittab.serial >> $(IDIR_BASE_FILES)/etc/inittab + test -z $(ADK_RUNTIME_CONSOLE_BOTH) || \ + cat ./files/inittab.vga >> $(IDIR_BASE_FILES)/etc/inittab test -z $(ADK_RUNTIME_HOSTNAME) || \ echo $(ADK_RUNTIME_HOSTNAME) > \ $(IDIR_BASE_FILES)/etc/hostname |