From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SkvQJ-00040J-A0 for ptxdist@pengutronix.de; Sat, 30 Jun 2012 13:01:07 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1SkvQJ-0005nX-91 for ptxdist@pengutronix.de; Sat, 30 Jun 2012 13:01:07 +0200 Date: Sat, 30 Jun 2012 13:01:07 +0200 From: Michael Olbrich Message-ID: <20120630110107.GV10551@pengutronix.de> References: <1340906693-12291-1-git-send-email-post@lespocky.de> <4FED58F0.7060007@rsi-elektrotechnik.de> <7c5dc500779363ebdfeeb04cad5768ee@idefix.lespocky.dyndns.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7c5dc500779363ebdfeeb04cad5768ee@idefix.lespocky.dyndns.org> Subject: Re: [ptxdist] [PATCH] install optional symlinks from sendmail to ssmtp 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 Hi, On Fri, Jun 29, 2012 at 11:19:22PM +0200, Alexander Dahl wrote: > >> +ifdef PTXCONF_SSMTP_SENDMAIL > >> + @$(call install_link, ssmtp, /sbin/ssmtp, /usr/sbin/sendmail) > >> + @$(call install_link, ssmtp, ../sbin/sendmail, /usr/lib/sendmail) > >> +endif > > > > > > Why one time relative, the other time not? Plus, isn't ptxdists > > install_link mechanism relative-only? > > I have to admit I didn't put too much thought in this and just copied > what I found on my Debian system. I can't say anything about the link > mechanism. I'll have a deeper look in this on Monday. Nowadays PTXdist can handle relative and absolute links. We had relative symlinks for a long time, because it made manipulating and checking the nfsroot (platform-/root) easier. Now we have a 'ptxdist setup' option to convert all absolute symlinks into relative symlinks in nfsroot only. So just use what makes more sense. In this case I'd say, use absolute symlinks. Michael -- 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