Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-embedded@g.o
From: Ed W <lists@...>
Subject: Re: generating root file systems
Date: Wed, 13 Jul 2011 11:54:40 +0100
On 07/07/2011 16:27, Christopher Harvey wrote:
> I was wondering if there was any interest in adding a script that could
> generate a bootable linux filesystem from a cross compiled target
> directory.

I would be happy to work with you on this - however, I also saw on
Planet Gentoo something about a gentoaster project - possibly related?
	http://hexxeh.net/?p=328117725

What I have is a very simple portage-a-like to support the case that I
have several stages to my script.

- Mounting all necessary sources
- Building a base system
- Copying base to target ready to be imaged
- Image
- Unmount

Additionally I am trying a packaging system using aufs + squashfs, so I
am building more than one target image and the whole gets stacked
together at the end

The scripting is fairly simple, but I guess this could develop into some
best practices..?

Arguably this is re-inventing catalyst, but speaking from inexperience,
catalyst appears to work best when the ebuilds are perfect and need to
micro patching - for embedded builds some flexibility is very helpful.

Patching ebuilds in mind: I have been experimenting with
/etc/portage/patches and also the bashrc for broad patching, eg where
some long standing patch or config customisation is necessary (eg delete
some openrc file which makes no sense, or customise some udev config, etc)

I guess if we could get this well written up then it would encourage
others to look at gentoo for embedded development?  At the moment it's
very powerful, but I sense there is a steep learning curve while you
develop your own build environment?

How do you think we should proceed?

Ed W


Replies:
Re: generating root file systems
-- Christopher Harvey
References:
generating root file systems
-- Christopher Harvey
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
generating root file systems
Next by thread:
Re: generating root file systems
Previous by date:
txs
Next by date:
Re: Bumping ebuilds


Updated Apr 23, 2012

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.