From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Alexander Stein Date: Thu, 19 Apr 2012 15:16:03 +0200 Message-ID: <1493316.pihEpPUWPN@ws-stein> In-Reply-To: <20120418144406.GF17656@pengutronix.de> References: <3048808.UHpPVDU3q6@ws-stein> <20120418144406.GF17656@pengutronix.de> MIME-Version: 1.0 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 Cc: Michael Olbrich Am Mittwoch, 18. April 2012, 16:44:06 schrieb Michael Olbrich: > 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? Well, I don't need /boot/bzImage necessarily, I think. But the kernel image would be in the default place and so I could still boot from this image with a non-EFI bootloader. Best regards Alexander -- Dipl.-Inf. Alexander Stein SYS TEC electronic GmbH August-Bebel-Str. 29 D-07973 Greiz Tel: +49-3661-6279-0, Fax: +49-3661-6279-99 eMail: Alexander.Stein@systec-electronic.com Internet: http://www.systec-electronic.com Managing Director: Dipl.-Phys. Siegmar Schmidt Commercial registry: Amtsgericht Jena, HRB 205563 -- ptxdist mailing list ptxdist@pengutronix.de