packer: remove pre-jessie code
packer: add support for Debian/bookworm
fake-uname: fix gcc argument order and improve preloaded shared library This includes recent changes as integrated at https://github.com/sipwise/deployment-iso Makefile: - Fix gcc argument order: newer gcc versions have become more picky on their argument order, due to the --as-needed default, and require the libraries to be linked to, to be passed after the code/objects that use them, otherwise they will get dropped as unused. This change is required for compiling with gcc v10.2.1-6 as present on Debian/bullseye (otherwise fails to execute with `undefined symbol: dlsym`) - Add `make check` target to run some basic tests - Also get rid of *.o *.so files in clean target, adjust targets accordingly to always clean and then build fake-uname.so afterwards - Mark as serial-only via .NOTPARALLEL fake-uname.c: - Use hidden visibility by default, and export the symbol explicitly. - Resolve real_uname() only once. - Return early if the real_uname() fails, to avoid acting on bogus data. - Call dlerror() before dlsym() to clear any previous errors. - Compute the release member size from the utsname struct instead of hard-coding it. - Always NUL-terminate the relese buffer, so protect against very long environment strings. - Make various variables into const. Acked-by: Guillem Jover <gjover@sipwise.com> Thanks: Guillem Jover
Add preliminary support for Debian/bullseye (AKA Debian v11.0) The "bullseye" release doesn't exist on the Debian repositories as such yet, though it's supposed to appear at least once buster (AKA Debian v10.0) is stable.
packer: add support for building Debian/buster
packer: improve support for testing local grml-debootstrap version Sadly packer lacks an option to copy an entire directory *excluding* certain files, otherwise we could just copy the whole grml-debootstrap.git directory. But as to the packer_cache directory is present in grml-debootstrap.git directory during packer execution this makes no sense. So use a workaround to get the same behaviour. Allow testing of grml-debootstrap without having to commit and push stuff to git first, so one can hack on stuff, test and only then commit and push it.
packer: support different Debian + grml-debootstrap releases * update Grml ISO to version 2014.11 * instead of running 'make packer' now it's possible to execute "make $debian_version" with support for lenny, squeeze, wheezy, jessie and stretch as $debian_version (lenny lacking support for Virtualbox Guest Additions though) * setting GRML_DEBOOTSTRAP_VERSION allows to control the grml-debootstrap version that should be used, defaults to the latest CI build from jenkins.grml.org
Fix packer/Makefile dependencies
Initial packer/vagrant/autotest setup