ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #06111
Building your own rootfs zip
hi,
if you had to do with ubuntu-arm before ubuntu-touch came around you
probably had contact with rootstock .. this was a rootfs build tool to
get you working ubuntu arm root filesystems, readily preconfigured to
just run after the first boot ...
in the course of linaro appearing they were supposed to provide a better
tool for the task, so rootstock was discontinued (it wasnt great code
wise either, but it did the job)
since linaro never delivered said tool i had plans for a "rootstock-ng"
in the drawer for quite some time ... same purpose, but this time *done
right* :)
since ubuntu-touch exists i usually get a request once a week if we
could have a tool to roll our own rootfs zips at home ...
... so i sat down for two days and wrote rootstock-ng [1] ... it will
now use the exact same build process the cdimage infrastructure uses to
build a rootfs zip for you.
in its first iteration you can build rootfses for x86 and armhf (x86
only produces a tarball currently and indeed there are no android bits
yet) i plan to upload it to trusty universe within the next days so you
can just apt-get install rootstock-ng and fire it up.
while our buildd infrastructure requires native builders to roll a
rootfs, rootstock-ng is solely designed for cross assembling a rootfs,
do not try to run it on an armhf machine ;)
within the next days i will add two additional features that might be
intresting to some of you:
- injecting a locally provided deb into the build (if you want to build
a rootfs with your changed package)
- adding a PPA to the build (if you have a set of packages in a PPA to
replace the ones on the image)
note that this tool currently only produces an android zip file
(respectively a tarball on x86 until our android tree has x86 support)
to flash via recovery (known as "flipped container model") i am waiting
for stephane graber to finish and release the system-image code to
support community builds, once this is out it will be integrated so that
you can roll proper readonly ubuntu touch rootfses soon for your
specific port ... stay tuned :)
to build a rootfs, just bzr branch lp:project-rootstock-ng, cd into the
branched folder and run ./rootstock-touch
(-h will tell you about the currently known options)
if you want to do multiple repeated builds i recommend using a package
proxy (like approx or apt-cacher) and point rootstock to it ...
ciao
oli
https://launchpad.net/project-rootstock-ng
Attachment:
signature.asc
Description: This is a digitally signed message part
Follow ups