Changeset 11981


Ignore:
Timestamp:
2008-07-29T05:36:11+02:00 (8 years ago)
Author:
agb
Message:

[ipkg] Generate gzipped package lists

  • Can be used by changing the src line in /etc/ipkg.conf to src/gz
  • Cannot be used by busybox ipkg
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/Makefile

    r11059 r11981  
    1 #  
    2 # Copyright (C) 2006-2007 OpenWrt.org 
     1# 
     2# Copyright (C) 2006-2008 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    4646 
    4747$(curdir)/index: FORCE 
    48         @(cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages) 
     48        @(cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages && \ 
     49                gzip -9c Packages > Packages.gz \ 
     50        ) 
    4951 
    5052$(curdir)/flags-install:= -j1 
  • trunk/target/imagebuilder/files/Makefile

    r10099 r11981  
    11# Makefile for OpenWrt 
    22# 
    3 # Copyright (C) 2007 OpenWrt.org 
     3# Copyright (C) 2007-2008 OpenWrt.org 
    44# 
    55# This is free software, licensed under the GNU General Public License v2. 
     
    113113        @echo 
    114114        @echo Building package index... 
    115         (cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages) >/dev/null 2>/dev/null 
     115        (cd $(PACKAGE_DIR); $(SCRIPT_DIR)/ipkg-make-index.sh . > Packages && \ 
     116                gzip -9c Packages > Packages.gz \ 
     117        ) >/dev/null 2>/dev/null 
    116118        $(IPKG) update 
    117119 
Note: See TracChangeset for help on using the changeset viewer.