User Tools

Site Tools


project:kernel-autobuild:patching

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
project:kernel-autobuild:patching [2015/09/14 17:15] – KUpgWHUlgcOT 146.185.234.48project:kernel-autobuild:patching [2016/03/31 13:59] (current) – old revision restored 79.250.120.183
Line 1: Line 1:
-http://freeslutschat.cf/#2021 live porn webcam, +====== patching kernel sources (as of 0.7) ====== 
 + 
 +  * **''kab_unpack_kernel_source'':** 
 +    * uncompress & untar kernel source code to $BUILD_DIR ("build/") 
 +  * **''kab_apply_vserver_patch'':** 
 +    * prepare vserver patch 
 +      * make a copy of $RAW_PATCHNAME to "$RAW_PATCHNAME-as-downloaded" - if it doesn't exists already 
 +      * otherwise restore $RAW_PATCHNAME from $RAW_PATCHNAME-as-downloaded 
 +      * make a copy of $RAW_PATCHNAME to "generic.diff" 
 +      * if patches are given by --vspatch-patch, expire older ones to $SRC_DIR/00-expired 
 +      * if current kernel source version does //not match// the kernel version of the latest patch: 
 +        * look for files named [0-9][0-9]-*.diff and apply them to "generic.diff" 
 +          * therefore replace the name of the patch file to be patched by "generic.diff" 
 +      * extract the value of the "NAME" variable from the current kernel source Makefile 
 +      * replace VERSION PATCHLEVEL EXTRAVERSION and NAME inside kernel source Makefile to: 
 +        * at least attach our signature  
 +        * fix version information  
 +      * save the patched vserver patch file to $PATCHNAME 
 +    * apply the patch $PATCHNAME to the kernel source tree 
 +    * return $KERN_FULL_VERSION to calling process 
 +  * **''kab_apply_post_vserver_patch_patches'':** 
 +    * apply patches specified with "--add-patch" 
 +      * this is where linux-*/script/package/builddeb is modified 
 +  * **''kab_compile_and_package''** 
 + 
 +====== patching kernel sources (as of 0.6) ====== 
 + 
 +  * **''kab_unpack_kernel_source'':** 
 +    * uncompress & untar kernel source code to $BUILD_DIR ("build/"
 +  * **''kab_apply_vserver_patch'':** 
 +    * prepare vserver patch 
 +      * make a copy of $RAW_PATCHNAME to "generic.diff" 
 +      * if current kernel source version does //not match// the kernel version of the latest patch: 
 +        * look for files named [0-9][0-9]-*.diff and apply them to "generic.diff" 
 +          * therefore replace the name of the patch file to be patched by "generic.diff" 
 +      * extract the value of the "NAME" variable from the current kernel source Makefile 
 +      * replace VERSION PATCHLEVEL EXTRAVERSION and NAME inside kernel source Makefile to: 
 +        * at least attach our signature  
 +        * fix version information  
 +      * save the patched vserver patch file to $PATCHNAME 
 +    * apply the patch $PATCHNAME to the kernel source tree 
 +    * return $KERN_FULL_VERSION to calling process 
 +  * **''kab_apply_post_vserver_patch_patches'':** 
 +    * apply patches specified with "--add-patch" 
 +      * this is where linux-*/script/package/builddeb is modified 
 +  * **''kab_compile_and_package''** 
 + 
 + 
project/kernel-autobuild/patching.1442243755.txt.gz · Last modified: 2015/09/14 17:15 by 146.185.234.48