* [ptxdist] Creating hardlinks withing ptxdist?
@ 2012-04-18 12:08 Alexander Stein
2012-04-18 14:44 ` Michael Olbrich
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Stein @ 2012-04-18 12:08 UTC (permalink / raw)
To: ptxdist
Hello,
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.
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] Creating hardlinks withing ptxdist?
2012-04-18 12:08 [ptxdist] Creating hardlinks withing ptxdist? Alexander Stein
@ 2012-04-18 14:44 ` Michael Olbrich
2012-04-19 13:16 ` Alexander Stein
0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2012-04-18 14:44 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] Creating hardlinks withing ptxdist?
2012-04-18 14:44 ` Michael Olbrich
@ 2012-04-19 13:16 ` Alexander Stein
0 siblings, 0 replies; 3+ messages in thread
From: Alexander Stein @ 2012-04-19 13:16 UTC (permalink / raw)
To: ptxdist; +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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-19 13:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-18 12:08 [ptxdist] Creating hardlinks withing ptxdist? Alexander Stein
2012-04-18 14:44 ` Michael Olbrich
2012-04-19 13:16 ` Alexander Stein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox