Index of /pub/linux/kernel.org/kernel/people/andrea/tools/apply-patches
Name Last modified Size Description
Parent Directory -
apply-patches-0.sh.gz 1999-10-11 23:20 309
apply-patches-1.sh.gz 1999-10-25 07:42 349
README 1999-10-25 07:43 2.8K
README.gz 1999-10-25 07:43 875
apply-patches-2.sh.gz 1999-10-27 04:29 449
apply-patches-3.sh.gz 2000-02-01 00:20 454
apply-patches-4.sh.gz 2002-02-08 00:21 505
README.sign 2013-08-09 05:22 665
apply-patches-0.sh.sign 2013-08-09 05:22 665
apply-patches-1.sh.sign 2013-08-09 05:22 665
apply-patches-2.sh.sign 2013-08-09 05:22 665
apply-patches-3.sh.sign 2013-08-09 05:22 665
apply-patches-4.sh.sign 2013-08-09 05:22 665
sha256sums.asc 2023-04-26 06:11 1.4K
To run this bash script you need in your path these programs:
bash (or sh)
patch
and you may need also:
gzip
bzip2
This script is useful to go in sync with my aa kernels.
To apply my kernel version called 2.2.13pre15aa1 just do this:
mkdir 2.2.13pre15aa1-patches
cd 2.2.13pre15aa1-patches
wget --retr-symlinks -A\*.gz ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.2/2.2.13pre15aa1/\*
cd ..
At this point you'll have the directory 2.2.13pre15aa1-patches filled
with the patches necessary to build the 2.2.13pre15aa1 tree.
Then go inside the 2.2.13pre15 sources and run:
apply-patches.sh ../2.2.13pre15aa1-patches
and your 2.2.13pre15 tree will be converted to a 2.2.13pre15aa1 tree.
Example:
andrea@alpha:~/kernel > ls 2.2.13pre15aa1-patches/
SMP-scheduler-2.2.11-E.gz oom-2.2.12-I.gz
buffer-races-2.2.10-A.gz probe-irq-2.3.14-pre2-1.gz
clear-backlog-2.gz shrink_all_cache-2.2.10-A.gz
endbase-2.2.10.gz smp-reschedule-boot-2.3.13-1.gz
free_page.gz trashing-mem-2.2.10-A.gz
hashed-buffers-2.2.10.gz wait-event-smp-races.gz
inode-leak-2.2.10-A.gz wait4-smp-race.gz
kupdate-sigstop-2.2.11-1.gz wakeup_bdflush-2.2.10-A.gz
mknod-unixsock-nosymlink.gz xtime-lock-alpha.gz
no-needed-comment-2.2.12-final3.gz z-bigmem-against-my-2.2.13pre14-5.gz
no-swapout-2.2.10-B.gz zmagic-3.gz
andrea@alpha:~/kernel > cp -al 2.2.13pre15 2.2.13pre15aa1
andrea@alpha:~/kernel > cd 2.2.13pre15aa1
andrea@alpha:~/kernel/2.2.13pre15aa1 > apply-patches.sh ../2.2.13pre15aa1-patches/
Processing SMP-scheduler-2.2.11-E.gz ...gzip... applyed.
Processing buffer-races-2.2.10-A.gz ...gzip... applyed.
Processing clear-backlog-2.gz ...gzip... applyed.
Processing endbase-2.2.10.gz ...gzip... applyed.
Processing free_page.gz ...gzip... applyed.
Processing hashed-buffers-2.2.10.gz ...gzip... applyed.
Processing inode-leak-2.2.10-A.gz ...gzip... applyed.
Processing kupdate-sigstop-2.2.11-1.gz ...gzip... applyed.
Processing mknod-unixsock-nosymlink.gz ...gzip... applyed.
Processing no-needed-comment-2.2.12-final3.gz ...gzip... applyed.
Processing no-swapout-2.2.10-B.gz ...gzip... applyed.
Processing oom-2.2.12-I.gz ...gzip... applyed.
Processing probe-irq-2.3.14-pre2-1.gz ...gzip... applyed.
Processing shrink_all_cache-2.2.10-A.gz ...gzip... applyed.
Processing smp-reschedule-boot-2.3.13-1.gz ...gzip... applyed.
Processing trashing-mem-2.2.10-A.gz ...gzip... applyed.
Processing wait-event-smp-races.gz ...gzip... applyed.
Processing wait4-smp-race.gz ...gzip... applyed.
Processing wakeup_bdflush-2.2.10-A.gz ...gzip... applyed.
Processing xtime-lock-alpha.gz ...gzip... applyed.
Processing z-bigmem-against-my-2.2.13pre14-5.gz ...gzip... applyed.
Processing zmagic-3.gz ...gzip... applyed.
Have fun!
Andrea