Open CyrilBrulebois opened 3 years ago
In hindsight, we might go for tweaking upstream sources (in the package that currently depends on this module) to read /etc/machine-id
directly, which should be good enough for our purposes.
Feel free to close this bug report.
Hi,
While packaging your software for Debian, I've noticed that a minimal chroot (which is typical for building purposes) might not have any
/etc/machine-id
(or the/var/lib/dbus/machine-id
counterpart), leading to testsuite failures. Of course, I could just ignore testsuite results (which will be done in the first revision of this package), but it's not ideal.Would it make sense to support something like an environment variable to point at a different root, or to have an extra file that one could look at? The usual constraint while building Debian package is staying inside
$(CURDIR)
and having noroot
privileges.Thanks for your input.
Cheers, Cyril.