All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: "poky@yoctoproject.org" <poky@yoctoproject.org>
Subject: directdisk images - replace the image type with a script?
Date: Wed, 11 May 2011 16:20:32 -0700	[thread overview]
Message-ID: <4DCB19C0.3060103@linux.intel.com> (raw)

I recently discovered that the directdisk images are malformed:

http://bugzilla.pokylinux.org/show_bug.cgi?id=1028

While reviewing the directdisk recipe, I'm wondering if this image type
has any real usage model. These are x86 specific. They partition a file
image so when written to a real disk you get goofy partition tables
(partitions do not end on cylinder boundaries).

The current recipes mangle the .cfg file (writing binary data over the
text file - I'm guessing the dd commands do this).

We could patch this up, but is it worth it? All the other systems create
ext3 images which are then installed on a disk per the instructions in
the README.hardware document. The live image provides a simple
dd-to-disk-and-boot solution. It seems to me the directdisk idea could
be replaced with a script "mksyslinuximage.sh" or similar that took the
image and kernel to use and the drive to partition, install syslinux on,
and copy the filesystem to.

Thoughts?

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


             reply	other threads:[~2011-05-11 23:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11 23:20 Darren Hart [this message]
2011-05-12  9:20 ` directdisk images - replace the image type with a script? Richard Purdie
2011-05-12 21:14   ` Darren Hart

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=4DCB19C0.3060103@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=poky@yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.