From caab7fc509bf27706ff3248689f6afd04225cfda Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 1 Sep 2010 15:08:09 +0100 Subject: Drop chroot usage as its not well used, tested and is broken Signed-off-by: Richard Purdie --- handbook/development.xml | 42 ------------------------------------------ 1 file changed, 42 deletions(-) (limited to 'handbook/development.xml') diff --git a/handbook/development.xml b/handbook/development.xml index 4f36c7aa82..3bcf40506c 100644 --- a/handbook/development.xml +++ b/handbook/development.xml @@ -241,48 +241,6 @@ -
- Developing externally in a chroot - - If you have a system that matches the architecture of the Poky machine you're using, - such as qemux86, you can run binaries directly from the image on the host system - using a chroot combined with tools like Xephyr. - - - Poky has some scripts to make using its qemux86 images within a chroot easier. To use - these you need to install the poky-scripts package or otherwise obtain the - poky-chroot-setup and poky-chroot-run scripts. - You also need Xephyr and chrootuid binaries available. To initialize a system use the setup script: - - - -# poky-chroot-setup <qemux86-rootfs.tgz> <target-directory> - - - - which will unpack the specified qemux86 rootfs tarball into the target-directory. - You can then start the system with: - - - -# poky-chroot-run <target-directory> <command> - - - - where the target-directory is the place the rootfs was unpacked to and command is - an optional command to run. If no command is specified, the system will drop you - within a bash shell. A Xephyr window will be displayed containing the emulated - system and you may be asked for a password since some of the commands used for - bind mounting directories need to be run using sudo. - - - There are limits as to how far the the realism of the chroot environment extends. - It is useful for simple development work or quick tests but full system emulation - with QEMU offers a much more realistic environment for more complex development - tasks. Note that chroot support within Poky is still experimental. - -
-
Developing in Poky directly -- cgit v1.2.3