world leader in high performance signal processing
Trace: » an_introduction_to_quilt_tool

Very Quick introduction to quilt

(Please format this etc. I'll do it when I have time - Phil)

1/ create a directory in your top level called “patches” This will collect all the patches that you generate using quilt

 mkdir patches

2/ Type “quilt new <patch name>”


 quilt new mynewdriver.patch
 this will tell quilt the name of the patch

3/ BEFORE you edit something add the file to quilt

  quilt add <somefilename>
  quilt add linux-2.6.x/drivers/char/mystuff/mydriver.c

OR use

  quilt edit 
  EDITOR=emacs quilt edit linux-2.6.x/drivers/char/mystuff/mydriver.c

 NOTE you will have to create the directory linux-2.6.x/drivers/char/mystuff
       before you save the file
       "mkdir -p linux-2.6.x/drivers/char/mystuff"

4/ You can see all the files managed by quilt

   quilt files

5/ You can see all the patches managed by quilt

   quilt series

6/ To create the patch use the “quilt refresh” command

   quilt refresh

7/ To remove the patch ( go back one version )

   quilt pop

8/ To add the patch again ( go up one version )

   quilt push

9/ To start a new patch

   quilt new <new patch name>

Complete Table of Contents/Topics