On Wed, 2007-06-27 at 13:22 -0300, Adilson Oliveira wrote:
> Matt Zimmerman escreveu:
> 
> > 
> > It looks like project-builder should be usable for this, as it seems to
> > provide a non-interactive command-line interface as well as the interactive
> > one.
> > 
> 
> Yes, it does, I was just wondering that might be interesting to have
> something simpler, just for creating the environment.
> 
> []s
> 
> Adilson.
> 

$ sudo project-builder -c create-project                  \
                      --platform-name mccaslin            \
                      --project-name "myproject"          \
                      --project-path "/usr/src/myproject" \
                      --project-description "My Samsung Q1 Ultra project"

$ sudo project-builder -c create-target          \
                      --project-name "myproject" \
                      --target-name "target1"

$ sudo project-builder -c install-fset         \
                      --project-name myproject \
                      --target-name target1    \
                      --fset-name "full-mobile-stack"

... now you have a fully functional, ready to chroot or install on a device 
filesystem located at /usr/src/myproject/targets/target1/fs.  You can then
ask project-builder to chroot into the filesystem (where project-builder
takes care of all the details that needs to happen beyond chroot, like bind
mounting /sys, /proc, and /tmp, copying over network name resolution config 
files,
and anything else we realize you need to run a full ubuntu mobile stack from 
within a chroot):

$ sudo project-builder -c chroot-target        \
                      --project-name myproject \
                      --target-name target1


    --rusty

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

Reply via email to