Changeset 2765


Ignore:
Timestamp:
2005-12-25T01:56:25+01:00 (12 years ago)
Author:
wbx
Message:

change ipkg.conf to use snapshots

Location:
trunk/openwrt/package/base-files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/base-files/Makefile

    r2557 r2765  
    66PKG_RELEASE:=6 
    77PKG_BUILD_DIR:=$(BUILD_DIR)/base-files 
     8 
     9BOARD:=$(shell LANG=C grep ^BR2_LINUX_2 $(TOPDIR)/.config|sed -e "s/=y//" \ 
     10        -e "s/.*_//"| tr "[:upper:]" "[:lower:]") 
     11KERNEL:=$(shell LANG=C grep ^BR2_LINUX_2 $(TOPDIR)/.config|sed -e "s/=y//" \ 
     12        -e "s/BR2_LINUX_//" -e "s/_BRCM//" -e "s/_/./"| tr "[:upper:]" "[:lower:]") 
    813 
    914REV:=$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' ) 
     
    4146        cp -a ./default/* $(IDIR_BASE) 
    4247        $(SED) 's,$$R,r$(REV),g' $(IDIR_BASE)/etc/banner 
     48        $(SED) 's,$$S,$(BOARD)-$(KERNEL),g' $(IDIR_BASE)/etc/ipkg.conf 
    4349        mkdir -p $(IDIR_BASE)/jffs 
    4450        mkdir -p $(IDIR_BASE)/dev 
  • trunk/openwrt/package/base-files/default/etc/ipkg.conf

    r1494 r2765  
    1 src experimental http://openwrt.org/downloads/experimental/bin/packages 
     1src snapshots http://openwrt.org/downloads/snapshots/$S/packages 
    22dest root / 
    33dest ram /tmp 
Note: See TracChangeset for help on using the changeset viewer.