public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-embedded] generating root file systems
@ 2011-07-07 15:27 99% Christopher Harvey
  0 siblings, 0 replies; 1+ results
From: Christopher Harvey @ 2011-07-07 15:27 UTC (permalink / raw
  To: gentoo-embedded

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.
For example:

arm-unknown-linux-gnueabi-make-root   (or any arch)

which would do something like:

cp -ar /usr/arm-unknown-linux-gnueabi /tmp/target
mkdir /tmp/target/proc
mkdir -p /tmp/target/var/run
#generate an inittab
then perform a mix of the following:
checks to make sure that all required packages are present to make a 
system bootable
package specific setup like starting services if ssh servers are 
installed.
create device nodes
set root password
call hooks in ~/.crossdev-makeroot/
install kernel modules
warn about missing packages that could be useful.
package a cpio (or something else depending on passed options)

I've got a script that is a mix of my own stuff plus some stuff I 
ripped off buildroot. I find it really handy, but isn't a general enough 
to work on anything except my own boards.

It's kinda tricky to write a script that will work for most users out 
of the box since I only have a couple of embedded machines, so I was 
wondering how many people would be interested and how many people could 
test on their own boards. I was thinking I could create an ebuild and a 
git repo then let people hack at it and see where it goes, and how many 
boards it can support at once.



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-07-07 15:27 99% [gentoo-embedded] generating root file systems Christopher Harvey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox