base-files: explicitly create /etc/rc.d/, fixes ImageBuilder when using git instead of svn

SVN-Revision: 16652
This commit is contained in:
Andy Boyett 2009-07-02 07:24:44 +00:00
parent 7c68d57ce4
commit 0194fea285

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files PKG_NAME:=base-files
PKG_RELEASE:=23 PKG_RELEASE:=24
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
@ -175,6 +175,7 @@ define Package/base-files$(TARGET)/install
mkdir -p $(1)/CONTROL mkdir -p $(1)/CONTROL
mkdir -p $(1)/dev mkdir -p $(1)/dev
mkdir -p $(1)/etc/crontabs mkdir -p $(1)/etc/crontabs
mkdir -p $(1)/etc/rc.d
mkdir -p $(1)/jffs mkdir -p $(1)/jffs
mkdir -p $(1)/lib/firmware mkdir -p $(1)/lib/firmware
$(if $(LIB_SUFFIX),ln -s lib $(1)/lib$(LIB_SUFFIX)) $(if $(LIB_SUFFIX),ln -s lib $(1)/lib$(LIB_SUFFIX))