Re: [libvirt] [PATCH] Fix location of SELinux mount during RPM builds

2012-09-07 Thread Martin Kletzander
On 09/06/2012 04:24 PM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com When building RPMs the host kernel cannot be assumed to match the target OS kernel. Thus auto-detecting /selinux vs /sys/fs/selinux based on the host kernel can result in the This line ... wrong

[libvirt] [PATCH] Fix location of SELinux mount during RPM builds

2012-09-06 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com When building RPMs the host kernel cannot be assumed to match the target OS kernel. Thus auto-detecting /selinux vs /sys/fs/selinux based on the host kernel can result in the wrong choice (eg F18 builds on a RHEL6 host kernel) --- libvirt.spec.in | 10

Re: [libvirt] [PATCH] Fix location of SELinux mount during RPM builds

2012-09-06 Thread Eric Blake
On 09/06/2012 08:24 AM, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com When building RPMs the host kernel cannot be assumed to match the target OS kernel. Thus auto-detecting /selinux vs /sys/fs/selinux based on the host kernel can result in the wrong choice (eg F18