Move hooks into module

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
test: Fix doctests with relative imports

Plain python -m doctest … does not work with relative imports, but nosetest
is hanlding it just fine.

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Rename Bin to ExternalBinary

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Move entry into __main__

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
test: Run runtime tests on current code

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Move imgbased into place and fix testsing

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Update requirements

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Don't track config.py

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
spec: Fix python file inclusion

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Move to log()

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Add imgbase diff

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Add imgbase nspawn

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Add experimental support for syslinux

Previously imgbased used BLS config files to install new boot entries,
the problem with this approach is that BLS does not allow to set a
default entry.
Now the syslinux configuration file format is used to specify the
bootloader configuration. This format allows to set the default boot
entry to be booted.

Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>