Changeset 8d05332 in freewrt


Ignore:
Timestamp:
Jul 20, 2006, 12:42:54 PM (19 years ago)
Author:
Markus Wigge <markus@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
a190a80
Parents:
11aebd0
Message:
  • added "Runtime Configuration" to menuconfig
  • added a package URL preselection to "Runtime Configuration" menu

git-svn-id: svn://www.freewrt.org/trunk/freewrt@299 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • package/Config.in

    r11aebd0 r8d05332  
    349349endmenu
    350350
     351menu "Runtime Configuration"
     352
     353config BR2_RUNTIME_PACKAGES_URL
     354        string "Packages URL"
     355        default ""
     356        help
     357          Predefine the URL where "ipkg" looks for packages
     358          @TARGET@ works as placeholder for "<boradtype>-<kernel>" i.e. "brcm-2.4"
     359             so you can configure different URLs for different targets with a single string
     360
     361          Leave empty to use distribution default:
     362          http://www.freewrt.org/downloads/snapshots/@TARGET@/packages
     363
     364endmenu
  • package/base-files/Makefile

    r11aebd0 r8d05332  
    5858        $(CP) ./default/* $(IDIR_BASE)
    5959        $(SED) 's,$$R,$(REV),g' $(IDIR_BASE)/etc/banner
    60         $(SED) 's,$$S,$(BOARD)-$(KERNEL),g' $(IDIR_BASE)/etc/ipkg.conf
     60        test -n $(BR2_RUNTIME_PACKAGES_URL) && \
     61                $(SED) 's,^src freewrt.*$$,src freewrt $(BR2_RUNTIME_PACKAGES_URL),' \
     62                    -e '/^src freewrt/s,"\(.*\)",\1,' $(IDIR_BASE)/etc/ipkg.conf
     63        $(SED) 's,@TARGET@,$(BOARD)-$(KERNEL),g' $(IDIR_BASE)/etc/ipkg.conf
    6164        mkdir -p $(IDIR_BASE)/dev
    6265        mkdir -p $(IDIR_BASE)/etc/crontabs
  • package/base-files/default/etc/ipkg.conf

    r11aebd0 r8d05332  
    1 src freewrt http://www.freewrt.org/downloads/snapshots/$S/packages
     1src freewrt http://www.freewrt.org/downloads/snapshots/@TARGET@/packages
    22dest root /
    33dest ram /tmp
Note: See TracChangeset for help on using the changeset viewer.