gen_update: Include new version number in new.xml

Get a version number from the command line for the update package
to be generated and include it in new.xml and the update package file
name. Before, the version number included in the base xml file was used,
but this should not be changed when generating updates.

Signed-off-by: Stefan Gast <stefan.gast@linutronix.de>
updatepkg: Write source.xml after creating updates

This includes updating the fullpkg list and the version number.

Signed-off-by: Stefan Gast <stefan.gast@linutronix.de>
docs: Fix man page for elbe gen_update

* Fix target/xml-file confusion
* Add --version parameter

Signed-off-by: Stefan Gast <stefan.gast@linutronix.de>
cdrom: except input error

don't crash if pkg version was not given:

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",
  File "/usr/lib/python2.7/dist-packages/elbepack/elbeproject.py", line 165,
  File "/usr/lib/python2.7/dist-packages/elbepack/cdroms.py", line 63, in mk
    cache.download_binary( pkg.name, '/var/cache/elbe/binaries/added', pkg.i
  File "<string>", line 2, in download_binary
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 773, in _callm
    raise convert_to_error(kind, result)
TypeError: argument 2 must be string, not None

Signed-off-by: Manuel Traut <manut@linutronix.de>
Merge remote-tracking branch 'origin/devel/stefan/genupdate-changes' into devel/manut
dbsfed.xsd: target options need to be mandatory

like passwd, hostname, console, ..

Signed-off-by: Manuel Traut <manut@linutronix.de>
use HEAD for git src package

Signed-off-by: Manuel Traut <manut@linutronix.de>
build_mtd_imgs: return empty list instead of None

callers expects an empty list if no images had been created; not None

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