Changeset 219


Ignore:
Timestamp:
Apr 17, 2011, 11:14:08 AM (9 years ago)
Author:
stappers
Message:

Disable openwrt packages with a SED Script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • debwrt/trunk/openwrt/patches/001_disable_all_openwrt_packages

    r2 r219  
    11--- include/toplevel.mk.org     2010-01-02 00:28:44.000000000 +0100
    22+++ include/toplevel.mk 2010-01-02 00:14:07.000000000 +0100
    3 @@ -49,6 +49,11 @@
     3@@ -49,6 +49,12 @@
    44                f=tmp/.$${type}info; t=tmp/.config-$${type}.in; \
    55                [ "$$t" -nt "$$f" ] || ./scripts/metadata.pl $${type}_config "$$f" > "$$t" || { rm -f "$$t"; echo "Failed to build $$t"; false; break; }; \
     
    88+       #         all. This allows us to have fine control over which packages we
    99+       #         want to build.
    10 +       sed 's/default [ynm]/default n/g' tmp/.config-package.in > tmp/.config-package.in.new
     10+       sed --file=./scripts/debwrt_disables_packages.sed \
     11+               tmp/.config-package.in > tmp/.config-package.in.new
    1112+       mv tmp/.config-package.in.new tmp/.config-package.in
    1213        ./scripts/metadata.pl package_mk tmp/.packageinfo > tmp/.packagedeps || { rm -f tmp/.packagedeps; false; }
    1314        touch $(TOPDIR)/tmp/.build
    1415 
     16--- /dev/null
     17+++ ./scripts/debwrt_disables_packages.sed     generated
     18@@ -0,0 +1,3 @@
     19+#
     20+s/default [ynm]/default n/g ;
     21+#
Note: See TracChangeset for help on using the changeset viewer.