WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] install udev rules into rules.d

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] install udev rules into rules.d
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Fri, 23 Jul 2010 20:20:48 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 23 Jul 2010 11:21:43 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1279909250; l=661; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=t2CJv/2TSMrdI4XrexxefZWblRo=; b=IMGPaHLZvBLEta2M/3wd9A6Cft7OPGGXGFe5kuDMiZZZWu+FAUhKFv1if0qk9Ld876Y HoHklx8ybU+hgcXNIAf63YjSjLsubZ8MLcYm599KJ2JUlnzpttZtQ9EQPQGIOdd+p8meI PU87Rr8RuDqZwhnRXevxGK0Br9EBFdxbCc8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19529.51096.524315.988459@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100723121634.GC3540@xxxxxxxxx> <19529.51096.524315.988459@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Fri, Jul 23, Ian Jackson wrote:

> Olaf Hering writes ("[Xen-devel] [PATCH] install udev rules into rules.d"):
> > -       $(INSTALL_DATA) $$i $(DESTDIR)$(UDEV_RULES_DIR); \
> > -       ln -sf ../$$i $(DESTDIR)$(UDEV_RULES_DIR)/rules.d; \
> > +       $(INSTALL_DATA) $$i $(DESTDIR)$(UDEV_RULES_DIR)/rules.d; \
> 
> What will this do if run on a system which already has the symlink
> arrangement from the previous versions of Xen ?  Perhaps some kind of
> fixing up is necessary.

I tried strace -f -o x -s 123 install a b, and b was unlinked first.
So it appears that the patch above is save.
Packing systems get this symlink-to-file thing right as well.

Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>