Changeset 673 for trunk/openwrt/patches


Ignore:
Timestamp:
Sep 27, 2015, 3:42:44 PM (4 years ago)
Author:
amain
Message:

Add support for EdgeRouter? Lite(Ubiquity). Add NFS boot support, allow disabling of OpenWrt's kernel commandline hack (allow bootloader to supply kernel cmdline), disable debwrt-net, swconfig and debwrt-hostapd packes due to compile issues, fix DebWrt patches.

Location:
trunk/openwrt/patches
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/patches/all/012_disable_all_openwrt_packages

    r517 r673  
    22+++ openwrt/include/toplevel.mk 2010-01-02 00:14:07.000000000 +0100
    33@@ -49,6 +49,11 @@
    4                 f=tmp/.$${type}info; t=tmp/.config-$${type}.in; \
    54                [ "$$t" -nt "$$f" ] || ./scripts/metadata.pl $${type}_config "$$f" > "$$t" || { rm -f "$$t"; echo "Failed to build $$t"; false; break; }; \
    65        done
     6        [ tmp/.config-feeds.in -nt tmp/.packagefeeds ] || ./scripts/feeds feed_config > tmp/.config-feeds.in
    77+       # DebWrt: we don't need to build any packages by default, so we disable them
    88+       #         all. This allows us to have fine control over which packages we
     
    1212        ./scripts/metadata.pl package_mk tmp/.packageinfo > tmp/.packagedeps || { rm -f tmp/.packagedeps; false; }
    1313        touch $(TOPDIR)/tmp/.build
    14  
  • trunk/openwrt/patches/trunk/025_make_empty_rootfs

    r556 r673  
    1 --- openwrt/include/image.mk.org
    2 +++ openwrt/include/image.mk
    3 @@ -122,12 +122,26 @@
    4  endif
     1Index: openwrt-octeon-generic-trunk-HEAD/include/image.mk
     2===================================================================
     3--- openwrt-octeon-generic-trunk-HEAD/include/image.mk  (revision 47046)
     4+++ openwrt-octeon-generic-trunk-HEAD/include/image.mk  (working copy)
     5@@ -169,9 +169,24 @@
     6 $(eval $(foreach S,$(JFFS2_BLOCKSIZE),$(call Image/mkfs/jffs2/template,$(S))))
     7 $(eval $(foreach S,$(NAND_BLOCKSIZE),$(call Image/mkfs/jffs2-nand/template,$(S))))
    58 
    6  ifneq ($(CONFIG_TARGET_ROOTFS_SQUASHFS),)
     9-define Image/mkfs/squashfs
    710+ifneq ($(CONFIG_BOOT_METHOD_SCRIPT),)
    8      define Image/mkfs/squashfs
    9 +               # boot direclty from device
    10                 @mkdir -p $(TARGET_DIR)/overlay
    11 +               mkdir -p $(TMP_DIR)/debwrt-empty-rootfs/overlay
    12 +               touch $(TMP_DIR)/debwrt-empty-rootfs/debwrt-empty-rootfs
    13 +               $(STAGING_DIR_HOST)/bin/mksquashfs4 $(TMP_DIR)/debwrt-empty-rootfs/ $(KDIR)/root.squashfs -nopad -noappend -root-owned -comp $(SQUASHFSCOMP) $(SQUASHFSOPT) -processors $(if $(CONFIG_PKG_BUILD_JOBS),$(CONFIG_PKG_BUILD_JOBS),1)
    14 +    endef
    15 +  else
    16 +    define Image/mkfs/squashfs
    17 +               # kexec and LABEL= boot
    18 +               @mkdir -p $(TARGET_DIR)/overlay
    19 +               ls -l $(TARGET_DIR)
    20 +               # remove /lib/modules to prevent the image from getting to big
    21 +               rm -rf $(TARGET_DIR)/lib/modules
    22                 $(STAGING_DIR_HOST)/bin/mksquashfs4 $(TARGET_DIR) $(KDIR)/root.squashfs -nopad -noappend -root-owned -comp $(SQUASHFSCOMP) $(SQUASHFSOPT) -processors $(if $(CONFIG_PKG_BUILD_JOBS),$(CONFIG_PKG_BUILD_JOBS),1)
    23                 $(call Image/Build,squashfs)
    24      endef
    25  endif
     11+   define Image/mkfs/squashfs
     12+       # kexec and LABEL= boot
     13+       @mkdir -p $(TARGET_DIR)/overlay
     14+       ls -l $(TARGET_DIR)
     15+       # remove /lib/modules to prevent the image from getting to big
     16+       rm -rf $(TARGET_DIR)/lib/modules
     17        $(STAGING_DIR_HOST)/bin/mksquashfs4 $(TARGET_DIR) $(KDIR)/root.squashfs -nopad -noappend -root-owned -comp $(SQUASHFSCOMP) $(SQUASHFSOPT) -processors $(if $(CONFIG_PKG_BUILD_JOBS),$(CONFIG_PKG_BUILD_JOBS),1)
     18-endef
     19+   endef
     20+else
     21+   define Image/mkfs/squashfs
     22+       # boot direclty from device
     23+       @mkdir -p $(TARGET_DIR)/overlay
     24+       mkdir -p $(TMP_DIR)/debwrt-empty-rootfs/overlay
     25+       touch $(TMP_DIR)/debwrt-empty-rootfs/debwrt-empty-rootfs
     26+       $(STAGING_DIR_HOST)/bin/mksquashfs4 $(TMP_DIR)/debwrt-empty-rootfs/ $(KDIR)/root.squashfs -nopad -noappend -root-owned -comp $(SQUASHFSCOMP) $(SQUASHFSOPT) -processors $(if $(CONFIG_PKG_BUILD_JOBS),$(CONFIG_PKG_BUILD_JOBS),1)
     27+   endef
    2628+endif
    2729 
    28  ifneq ($(CONFIG_TARGET_ROOTFS_UBIFS),)
    29      define Image/mkfs/ubifs
     30 # $(1): board name
     31 # $(2): rootfs type
Note: See TracChangeset for help on using the changeset viewer.