tools/install-deps: install enough deps for ./tools/build-deb to work.
Basic goal here is to have this work:
./tools/install-deps build && ./tools/build-deb
Changes:
a.) fix a bug parsing debian/control (it would miss 'debhelper')
b.) install fakeroot explicitly, otherwise 'debuild' wont work.
c.) install with --no-install-recommends. This just gets less stuff
and means we're more explicit about dependencies.
d.) write the command being executed for 'apt-get install' to stderr.
validate_image: Fix python2 i386 error, and show value in ValueError.
On python 2 and i386 (32 bit), os.stat will return a long.
There, we see that:
isinstance(os.path.getsize("/etc/passwd"), int) == False
Where as on python 3 or 64 bit arch, the above is True.
That would cause validate_image to raise a ValueError and tests to fail.
- package-uses-deprecated-debhelper-compat-version: change to 9
9 is what is in 16.04 (and 12.04), so stick with that for now.
- build-depends-on-build-essential-package-without-using-version:
drop the make dependency.
- ancient-python-version-field: no need to specify X-python-version
or X-python3-version any more.
- ancient-standards-version: move debian/control Standards-Version to 4.2.1
- priority-extra-is-replaced-by-priority-optional:
replace extra with optional