step 1/3 for files-to-extract support

Extract files from buildimg via /opt/elbe/files-to-extract.
e2cp does not support following links and expanding patterns.
This allows us to implement patterns like "e2cp img:bla* ."
The expansion is made inside the VM.

Signed-off-by: Torben Hohn <torbenh@linutronix.de>
step 2/3 of files-to extract patches (kernel and initrd)

we can not move it into special directories though.

Signed-off-by: Torben Hohn <torbenh@linutronix.de>
use files-to-extract for UBI images

commit 42d52891bc57fb8961c48f2b4f99fd716158b46a added a new method to transfer
files from the buildenv to the host pc.

Use this method to transfer ubi and mtd images to the host pc.

Signed-off-by: Manuel Traut <manut@linutronix.de>
part-target: remove escape of newline

it worked in the past, because there is a newline in the template.
But it's definetly not correct.

Signed-off-by: Manuel Traut <manut@linutronix.de>
part-target: fix bug in file extraction

depending on fstab definition files were extracted mulitple times

Signed-off-by: Manuel Traut <manut@linutronix.de>
part-target.sh: improve coment

Signed-off-by: Manuel Traut <manut@linutronix.de>
fix files-to-extract logic failing to do its thing
adjust makefile targets which are gone due to files-to-extract logic
dont fail if xml files doesnt have <images> tag
Cleanup the elbe build directory

- move all files generated from templates to .elbe-in
- makefile generates initrd and stuff in .elbe-gen
- stamps are now created in .stamps
fix target/package/tar/name dependency
fix copy Release.src
always boot the vm with -kernel and -initrd option

on squeeze, the seabios does not support virtio, and can not
boot via bios.
-kernel does not use the bios.
Hide kernel to run the buildenv in .elbe-vm

This commit also evaluates the softlinks to the kernel name,
and we are now agnostic of the debian kernel version number.
mkcdrom: sort the packages used to debootstrap into specific repo component

debootstrap only uses the primary mirror.
However the repository on the cdrom would only contain the highest version
from all repositories.

This might have distorted the result of a cdrom build.
Specifically a build with debian grip did not succeed to debootstrap.
This is fixed by this commit.
make treeutils.ebase.text() throw an exception, if a value can not be read

We now have proper error reporting in mako templates, so this
hack is not useful anymore.
treeutils: add support for default dicts to ebase.text()
add new xmldefaults architecture to distinguish buildtypes
evaluate xmldefaults in mako templates, where they apply
xsd: update schema for now optional parameters, seeded via xml defaults