avoid perl warnings about unset locales

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.UTF-8"

Signed-off-by: Manuel Traut <manut@linutronix.de>
repomanager: use Filesystem for repo
filesystem: add function to determine diskusage
pkgutils: add implementation of get_dsc_size()
create target/etc folder before creating fstab

this fixes

Traceback (most recent call last):
  File "/usr/bin/elbe", line 58, in <module>
    cmdmod.run_command( sys.argv[2:] )
  File "/usr/lib/python2.7/dist-packages/elbepack/commands/buildchroot.py", line 78, in run_command
    opt.build_sources, opt.debug )
  File "/usr/lib/python2.7/dist-packages/elbepack/elbeproject.py", line 126, in
build
    self.targetfs.write_fstab (self.xml )
  File "/usr/lib/python2.7/dist-packages/elbepack/filesystem.py", line 337, in write_fstab
    f = self.open("etc/fstab", "w")
  File "/usr/lib/python2.7/dist-packages/elbepack/filesystem.py", line 46, in open
    return open( self.fname(path), mode )
IOError: [Errno 2] No such file or directory: '/root/rescue/target/etc/fstab'

Signed-off-by: Manuel Traut <manut@linutronix.de>
create usr/bin on target if it doesn't exist

before copying qemu-user, else usr/bin will be an executable and nothing
will work.

Signed-off-by: Manuel Traut <manut@linutronix.de>
examples: add a busybox based rescue rfs

Signed-off-by: Manuel Traut <manut@linutronix.de>
use qemu-elbe-user-static if available

qemu-elbe-user-static is packaged by the elbe team and includes a modified
version of qemu-user-static that is installed to /usr/share/elbe/qemu-elbe

it is used to use a patched version of qemu that includes (dirty) workarounds
for elbe that won't be included in upstream or debian.

this code can be removed as soon as the upstream qemu is able to handle
threads and signaling correctly.

however it is a method to use a defined version of qemu-user with elbe.

if the package isn't available or doesn't include a implementation for a
specific architecture, the upstream version is used as a fallback.

Signed-off-by: Manuel Traut <manut@linutronix.de>
version bump 0.7.0~beta6

Signed-off-by: Manuel Traut <manut@linutronix.de>
fix syntax errors

remove ')' that wasn't opened

Signed-off-by: Manuel Traut <manut@linutronix.de>
buildchroot: fix except sqlalchemy.exc.OperationalError without import
repomanager: add support for maxsize when generating repos
cdroms: when generating cdroms pass CDROM_SIZE to repos
Merge remote-tracking branch 'origin/devel/torbenh/e1.0' into devel/manut
Split gen_update into command and implementation

Signed-off-by: Stefan Gast <stefan.gast@linutronix.de>
Merge remote-tracking branch 'origin/devel/stefan/genupdate-changes' into devel/manut
fix bracketing issue introduced in d47f6fb2d42

Signed-off-by: Manuel Traut <manut@linutronix.de>
add updatepkg.py to buildenv debian package

Signed-off-by: Manuel Traut <manut@linutronix.de>
examples: elbe-desktop - fix mirrors / add grub-pc

Signed-off-by: Manuel Traut <manut@linutronix.de>