All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: meta-ti@yoctoproject.org
Subject: Re: [Angstrom-devel] Can't build cloud9 image
Date: Sun, 04 Mar 2012 06:17:27 -0700	[thread overview]
Message-ID: <4F536B67.2070009@mlbassoc.com> (raw)
In-Reply-To: <7AB88097-7498-4BEE-879A-D24894A4CB36@dominion.thruhere.net>

On 2012-03-04 06:09, Koen Kooi wrote:
>
> Op 4 mrt. 2012, om 14:02 heeft Gary Thomas het volgende geschreven:
>
>> On 2012-03-04 05:46, Koen Kooi wrote:
>>>
>>> Op 3 mrt. 2012, om 13:51 heeft Gary Thomas het volgende geschreven:
>>>
>>>> OE Build Configuration:
>>>> BB_VERSION        = "1.15.1"
>>>> TARGET_ARCH       = "arm"
>>>> TARGET_OS         = "linux-gnueabi"
>>>> MACHINE           = "beaglebone"
>>>> DISTRO            = "angstrom"
>>>> DISTRO_VERSION    = "v2012.03-core"
>>>> TUNE_FEATURES     = "armv7a vfp neon cortexa8"
>>>> TARGET_FPU        = "vfp-neon"
>>>> meta-angstrom     = "master:2129eed920364abcc4f3f72d395333a041634e26"
>>>> meta-oe
>>>> meta-efl
>>>> meta-gpe
>>>> meta-gnome
>>>> meta-xfce
>>>> meta-initramfs    = "master:fdff8697ea2db6254d26510adb7d11e6352d950f"
>>>> meta-opie         = "master:efa3892b20a4ef80274e56e5633ebd62c16f9731"
>>>> meta-java         = "master:d430de31c167cd264be74a1d82af4b732bb915dd"
>>>> meta-mozilla      = "master:5737d9fa26a632a27b2aa760c0d01190f0a17d0e"
>>>> meta-ti           = "master:020b6f893d13e36bccd7a2d8e6a0e6ab5e602450"
>>>> meta-efikamx      = "master:2c09a3a780b23448e8a6ca964256ff7f5ccba65d"
>>>> meta-nslu2        = "master:3d9fc951b05b4df476374b6fc3085ebac7f293ee"
>>>> meta-htc
>>>> meta-nokia
>>>> meta-openmoko
>>>> meta-palm         = "master:cda19686a2a3573ce50c86733c3469d926124995"
>>>> meta-handheld     = "master:fa1e6dcb524eb7ed29a6cd971a150d35c31e96e7"
>>>> meta-intel
>>>> meta-sugarbay
>>>> meta-crownbay
>>>> meta-emenlow
>>>> meta-fishriver
>>>> meta-jasperforest
>>>> meta-n450         = "master:df18b721f86f0737c0f302e49b27ea232c70e683"
>>>> meta              = "master:b24d4bcde21b013e48eaffea5f3a70d8b1df1047"
>>>>
>>>> Building of cloud9-image ends up with this error:
>>>>   /etc/fstab entries need to be created with the user flag for the loop devices like:
>>>>   /dev/loop2 /local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/work/beaglebone-angstrom-linux-gnueabi/cloud9-image-1.0-r0/tmp-mnt-boot vfat user 0 0
>>>>
>>>> My host is Fedora-16 (i386)
>>>>
>>>> How do I solve this so I can build the full cloud9-image?
>>>
>>> At the risk of responding to a practical joke: /etc/fstab entries need to be created with the user flag for the loop devices, the error message even includes the exact entry you need to add.
>>
>> I see that, but what if I'm "Joe user" who can't (or doesn't want to)
>> edit /etc/fstab?
>
> Then you can't build this image.
>
>>   Everything else builds with no special "root" style
>> privileges, why does this one image need it?
>
> Simply put: because the tools suck. A this point in time there is no tool (or tools plural) that allows creating 2 partitions (vfat and extX) and concatenating them into a valid image with an MBR. The biggest lack is something like 'genfatfs', mcopy is a step in the right direction but is too limited to work in this scenario.
> And genext2fs will likely OOM on a lot of buildmachines.

But this is just to be able to generate a packed image that can be
copied directly to media?  Maybe that should be a different image
type, like the .u-boot images?  Then it would be obvious what's
being done and why.  In my case, I'm more than happy running a script
to copy the appropriate files to my SD card, etc. and I don't care
(nor especially want) a packed image.

>
>>   Also, what if I build
>> in another tree/path?  Now, I have to edit /etc/fstab again?
>
> Correct, it's the gift that keeps on giving :(
>
> Anyway, why are you posting this to the angstrom list? The cloud9 recipe and offending bbclass live in meta-ti.

Fair enough, I'll try to keep the discussions where they are most relevant.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2012-03-04 13:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4F5213E8.50108@mlbassoc.com>
     [not found] ` <89B59491-7BDB-4A5D-BDC0-D4E3863E417B@dominion.thruhere.net>
     [not found]   ` <4F5367ED.1060903@mlbassoc.com>
2012-03-04 13:09     ` [Angstrom-devel] Can't build cloud9 image Koen Kooi
2012-03-04 13:17       ` Gary Thomas [this message]
2012-03-04 13:55         ` Richard Purdie
2012-03-04 14:10           ` Koen Kooi
2012-03-15  7:17 Russell Senior
2012-03-29  1:22 ` Denys Dmytriyenko
2012-04-02  4:57   ` Russell Senior

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=4F536B67.2070009@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=meta-ti@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.