[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [Patch V3 3/3] Fixed policy Makefile with Ian Campbell advice:


  • To: xen-devel@xxxxxxxxxxxxx
  • From: "Vadim A. Misbakh-Soloviov" <mva@xxxxxxxx>
  • Date: Wed, 31 Jul 2013 23:29:37 +0400
  • Delivery-date: Wed, 31 Jul 2013 19:30:23 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Nice, that both of you agreed with patchset. But unfortunately I'm a
newbie in Xen development, so I don't know, what should I do now. Just
wait when someone commit it into staging? Or I should push it somewhere? :)

30.07.2013 17:16, Ian Campbell ÐÐÑÐÑ:
> On Tue, 2013-07-30 at 16:34 +0400, Vadim A. Misbakh-Soloviov wrote:
>> From: "Vadim A. Misbakh-Soloviov" <mva@xxxxxxxx>
>>
>> 30.07.2013 13:51, Ian Campbell wrote:
>>> I think it would be a bit less surprising for drive by patchers etc to
>>> remove the DESTDIR from POLICY_LOADPATH and add it to the install
>>> target, which is the usual way to do things. Up to you/Vadim though.
>>
>> Signed-off-by: Vadim A. Misbakh-Soloviov <mva@xxxxxxxx>
> 
> Looks good to me, I'll give Daniel a chance to object though.
> 
> Ian.
> 
>> ---
>>  tools/flask/policy/Makefile | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/tools/flask/policy/Makefile b/tools/flask/policy/Makefile
>> index df1e8f3..a1c0f11 100644
>> --- a/tools/flask/policy/Makefile
>> +++ b/tools/flask/policy/Makefile
>> @@ -33,7 +33,7 @@ M4 ?= m4
>>  OUTPUT_POLICY = 24
>>  
>>  POLICY_FILENAME = xenpolicy.$(OUTPUT_POLICY)
>> -POLICY_LOADPATH = $(DESTDIR)/boot
>> +POLICY_LOADPATH = /boot
>>  
>>  # policy source layout
>>  POLDIR := policy
>> @@ -103,8 +103,8 @@ POLICY_SECTIONS += $(USERS) $(CONSTRAINTS) $(ISID_DEFS)
>>  all: $(POLICY_FILENAME)
>>  
>>  install: $(POLICY_FILENAME)
>> -    $(INSTALL_DIR) $(POLICY_LOADPATH)
>> -    $(INSTALL_DATA) $^ $(POLICY_LOADPATH)
>> +    $(INSTALL_DIR) $(DESTDIR)/$(POLICY_LOADPATH)
>> +    $(INSTALL_DATA) $^ $(DESTDIR)/$(POLICY_LOADPATH)
>>  
>>  $(POLICY_FILENAME): policy.conf
>>      $(CHECKPOLICY) $(CHECKPOLICY_PARAM) $^ -o $@
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.