mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Creating hardlinks withing ptxdist?
Date: Wed, 18 Apr 2012 16:44:06 +0200	[thread overview]
Message-ID: <20120418144406.GF17656@pengutronix.de> (raw)
In-Reply-To: <3048808.UHpPVDU3q6@ws-stein>

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

  reply	other threads:[~2012-04-18 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-18 12:08 Alexander Stein
2012-04-18 14:44 ` Michael Olbrich [this message]
2012-04-19 13:16   ` Alexander Stein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120418144406.GF17656@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox