Changeset 380


Ignore:
Timestamp:
Sep 30, 2012, 10:56:12 AM (10 years ago)
Author:
amain
Message:

Add README on rework of ehem of the patch subsystem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/contrib/openwrt/patches/README

    r218 r380  
     1DebWrt patch subsystem to patch OpenWrt
    12
    2 Original had this directory only "patches".
     3Reworked by ehem since r349. Thanks!
    34
    4 Later as the 'generate' script added
    5 which generates "patches" from  .in files and other files such as .sed files.
     5all/      Patches that apply to all branches of OpenWrt
     6trunk/    Patches that apply only to OpenWrt trunk
     7backfire/ Patches that apply only to OpenWrt backfire branch
    68
    7 The 'generate proces' is _not integrated_ in the build process.
    8 At least not at the time it was introduced.
     9Patches in these directories have the following format:
    910
     11nnn_<desc>      Apply patch to all revisions
     12nnn-f(:)_<desc> Apply patch to revision f ( and onward if : is specified )
     13nnn-(:)t_<desc> Apply patch to revision t ( and downward if : is specified )
     14nnn-f:t_<desc>  Apply patch from revision r1 up and including r2
     15
     16<desc> contains a functional description of the patch. Prefereably seperated
     17       by _.
     18
     19Patches are applied in order of nnn.
     20
     21Make targets
     22------------
     23make openwrt/patch
     24maken openwrt/unpatch
     25
     26
     27Create new patch example
     28------------------------
     29cd build/openwrt-<...>/
     30wget -O packages/broadcom-wl/patches/999_remove_IRWF_SAMPLE_RANDOM \
     31        https://dev.openwrt.org/raw-attachment/ticket/12248/remove_IRWF_SAMPLE_RANDOM.patch
     32diff -Nu packages/broadcom-wl/patchesnew/999_remove_IRWF_SAMPLE_RANDOM \
     33         packages/broadcom-wl/patches/999_remove_IRWF_SAMPLE_RANDOM \
     34         > ../../030-33559:broadcom-wl_remove_IRWF_SAMPLE_RANDOM.patch
     35
Note: See TracChangeset for help on using the changeset viewer.