[Apparmor-dev] Re: Apparmor-dev Digest, Vol 21, Issue 4

John Johansen jjohansen at suse.de
Thu Nov 1 12:22:43 MDT 2007


On Sun, Oct 21, 2007 at 08:53:11AM +0200, Peter Harmsen wrote:
> I was strugling with quilt in order to patch the kernel with AppArmor.
> Without a proper result i think. Since it is the first time i patch this way.
> 
> I used the steps outlined on: http://en.opensuse.org/AppArmor_Geeks
> 
> "tar zxvf apparmor.tar.gz
>  ln -sf apparmor ~/path/to/kernel/sources/patches
>  cd ~/path/to/kernel/sources
>  quilt push -a"
> 
> However i suspected that there are some missing steps because i get continuously
> the message:"no patches in series"
> 
> So i googled around a little more and crossed this site:
> http://web.media.mit.edu/~stefie10/technical/illicit_forks.html
> 
> I have the git directory linux-2.6 and apparmor-2.1-961/  in /usr/src
> Still the "no patches in series comes up"
> 
> Any hint very much appreciated:-)
> 

Peter sorry for the delay in responding,

The instructions are complete but perhaps they could be a little
clearer.

tar zxvf apparmor.tar.gz
ln -sf apparmor $(PATH_TO_KENEL_SOURCE)/patches
cd $(PATH_TO_KERNEL_SOURCE)
quilt push -a

where $(PATH_TO_KERNEL_SOURCE) is replaced by your kernel source
so if you where patching your linux-2.6 tree, the instructions become

tar zxvf apparmor.tar.gz
ln -sf apparmor /usr/src/linux-2.6/patches
cd /usr/src/linux-2.6
quilt push -a


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://forge.novell.com/pipermail/apparmor-dev/attachments/20071101/e83c1954/attachment.pgp


More information about the Apparmor-dev mailing list