Re: foreign rootfs without root priviliges with multistrap, fakeroot, fakechroot and qemu user emulation
Am 22.06.2011 11:15, schrieb Johannes Schauer:
Hi Johannes, I have started a similar script with the goal to create a
Debian rootfs tarball, ubimage and ext2image with some basic
I was inspired by that and my script allows a similar mechanism. But the
usage of it is just optional and one can always default to specifying
packages in the multistrap.conf (which is more simple in my taste) or by
and announced it here as "multistrapwrapper".
At the beginning I used standard shell syntax, too:
The first task was a Debian based NAS-software for my seagate dockstar
(kirkwood) with readonly ability. The configuration of the armel rootfs
is done on the "build" host (amd64 in my case).
The script(s) lacked some flexibility, so I started to use Makefiles.
One problem was the testing of the rootfs, which I solved with
qemu-targets. So one is able to test the configuration locally on an
More or less, my Makefile project serves exactly the same purpose than
your single-script, but provides a bit more flexibility - currently I'm
working on a rootfs for powerpc on my Wii.
maybe those are useful for someone.
If the code gets unified and it is possible to easily customize lists
of packages at least it'll be useful for you and me.
The code was unified and there is a way to easily customize lists of
I'm also interested in avoiding root-rights. So I put your solution on
(Currently, my scripts rely on sudo)
I've spotted one more point I like to "borrow" from your approach:
Use debconfseed.txt for configuring tzdata etc. (I do it manually:
Suggestions very welcome!
I have "invented" a very (very!) similar approach compared to your skript.
I dont't like to invent things twice. Do you see some chance of
co-operation or even merging both together?