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 1SKW74-0007vi-KT for ptxdist@pengutronix.de; Wed, 18 Apr 2012 16:44:06 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1SKW74-0004md-J9 for ptxdist@pengutronix.de; Wed, 18 Apr 2012 16:44:06 +0200 Date: Wed, 18 Apr 2012 16:44:06 +0200 From: Michael Olbrich Message-ID: <20120418144406.GF17656@pengutronix.de> References: <3048808.UHpPVDU3q6@ws-stein> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <3048808.UHpPVDU3q6@ws-stein> Subject: Re: [ptxdist] Creating hardlinks withing ptxdist? 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 Wed, Apr 18, 2012 at 02:08:10PM +0200, Alexander Stein wrote: > is it possible to create hardlinks within ptxdist? Our current problem is that > the kernel image is located in /boot/bzImage, as usually. But we need the also > the file under /efi/boot/bootia32.efi to be bootable from EFI. A symlink > doesn't work from EFI side and I don't want to maintain 2 binaries in > parallel, despite the space wasting. So I got the idea of using a hardlink. > Seems to work, manually created. You could try a postinst script. But I'm not sure if the tools that create the images can handle hardlinks. Or only install /efi/boot/bootia32.efi and not /boot/bzImage, or do you need that as well? 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