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: Christopher Harvey <chris@...>
Subject: generating root file systems
Date: Thu, 07 Jul 2011 10:27:38 -0500
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.


Replies:
Re: generating root file systems
-- Ed W
Navigation:
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Bumping ebuilds
Next by thread:
Re: generating root file systems
Previous by date:
Re: Bumping ebuilds
Next by date:
Re: about gentoo-bionic


Updated Jun 25, 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.