Skip to content

Commit

Permalink
[imagebuilder] populate repositories.conf from version.mk
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31268 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
jow committed Apr 12, 2012
1 parent c67b119 commit 9852ed4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion target/imagebuilder/Makefile
Expand Up @@ -8,6 +8,7 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
include $(INCLUDE_DIR)/host.mk
include $(INCLUDE_DIR)/version.mk

override MAKEFLAGS=

Expand All @@ -34,7 +35,7 @@ $(BIN_DIR)/$(IB_NAME).tar.bz2: clean
$(TMP_DIR)/.targetinfo \
$(TMP_DIR)/.packageinfo \
$(PKG_BUILD_DIR)/
$(SED) 's/$$A/$(BOARD)/' $(PKG_BUILD_DIR)/repositories.conf
$(VERSION_SED) $(PKG_BUILD_DIR)/repositories.conf
$(CP) $(PACKAGE_DIR) $(PKG_BUILD_DIR)/packages
$(CP) $(STAGING_DIR_HOST)/bin $(PKG_BUILD_DIR)/staging_dir/host/
$(CP) $(TOPDIR)/target/linux $(PKG_BUILD_DIR)/target/
Expand Down
4 changes: 2 additions & 2 deletions target/imagebuilder/files/repositories.conf
@@ -1,6 +1,6 @@
## Place your custom repositories here, they must match the architecture and version.
# src/gz snapshots http://downloads.openwrt.org/snapshots/trunk/$A/packages
# src custom file:///usr/src/openwrt/bin/$A/packages
# src/gz %n %U
# src custom file:///usr/src/openwrt/bin/%T/packages

## This is the local package repository, do not remove!
src imagebuilder file:packages

0 comments on commit 9852ed4

Please sign in to comment.