From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XYsXq-0004CK-4w for ptxdist@pengutronix.de; Tue, 30 Sep 2014 10:12:26 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1XYsXq-0005iy-3T for ptxdist@pengutronix.de; Tue, 30 Sep 2014 10:12:26 +0200 Date: Tue, 30 Sep 2014 10:12:26 +0200 From: Michael Olbrich Message-ID: <20140930081226.GE24288@pengutronix.de> References: <1412050724-11845-1-git-send-email-jon@ringle.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1412050724-11845-1-git-send-email-jon@ringle.org> Subject: Re: [ptxdist] [PATCH 1/2] systemd: install_alternative_tree /lib/systemd/system/ Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Tue, Sep 30, 2014 at 12:18:43AM -0400, jon@ringle.org wrote: > From: Jon Ringle > > This allows platform specific customizations to /lib/systemd/system/ to > be installed on the target > > Signed-off-by: Jon Ringle > --- > rules/systemd.make | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/rules/systemd.make b/rules/systemd.make > index ff3d606..51ffcac 100644 > --- a/rules/systemd.make > +++ b/rules/systemd.make > @@ -303,7 +303,7 @@ ifdef PTXCONF_SYSTEMD_NETWORK > endif > > # # units > - @$(call install_tree, systemd, 0, 0, -, /lib/systemd/system/) > + @$(call install_alternative_tree, systemd, 0, 0, /lib/systemd/system/) Are you sure, this is what you want? install_alternative_tree replaces the entire tree, not individual files. You can overwrite individual files by placing your copy in /etc/systemd/system/. Michael > > @$(call install_alternative, systemd, 0, 0, 0644, /etc/vconsole.conf) > > -- > 1.8.5.4 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de