ooni-probe-cli/debian
Simone Basso 638acb0830
fix: build ooniprobe for linux using debian/amd64 (#552) (#553)
In https://github.com/ooni/probe/issues/1741, we observed that
every attempt to use `docker --platform` along with `debian` for
packaging ooniprobe fails with `SEGFAULT`, except when using
the `debian:oldstable` container.

To fix this issue, in this diff we fix Debian packaging to run on
any debian system (`debian:stable` in our case) provided that we
have `qemu-user-static` installed on the system and the system is
a Debian (or Debian-derived) system.

The trick here is to use `dpkg-buildpackage -a $deb_arch`. We
also need to disable a few `debian/rules` that we don't actually
need anyway.

Closes https://github.com/ooni/probe/issues/1741.

This cherry-picks 36a5bf34f99f382a081efd642dd472888a57602b
from the stable branch into the master branch.
2021-10-22 15:14:11 +02:00
..
source debian: run as a daemon, ask informed consent (#162) 2020-12-15 13:05:13 +01:00
.gitignore CLI, debian, make: misc cleanup and changes (#336) 2021-05-06 21:20:45 +02:00
changelog Release 3.6.0 (#239) 2021-03-03 14:42:17 +01:00
config debian: run as a daemon, ask informed consent (#162) 2020-12-15 13:05:13 +01:00
control debian: run as a daemon, ask informed consent (#162) 2020-12-15 13:05:13 +01:00
copyright Initial packaging (#117) 2020-11-13 09:59:30 +01:00
ooniprobe-cli.install feat(gha): build debian package using ./make (#331) 2021-05-06 22:13:09 +02:00
ooniprobe-cli.postinst debian: run as a daemon, ask informed consent (#162) 2020-12-15 13:05:13 +01:00
ooniprobe-cli.service CLI, debian, make: misc cleanup and changes (#336) 2021-05-06 21:20:45 +02:00
ooniprobe-cli.templates Release 3.5.1 (#218) 2021-02-03 21:32:45 +01:00
ooniprobe-cli.timer fix(ooniprobe-cli.timer): run every 12h (#512) 2021-09-27 22:02:51 +02:00
ooniprobe.conf.disabled feat(ooniprobe): introduce websites_max_runtime (#273) 2021-03-30 11:16:12 +02:00
README.md doc: ensure all top dirs have an explanatory README (#214) 2021-02-03 16:54:00 +01:00
rules fix: build ooniprobe for linux using debian/amd64 (#552) (#553) 2021-10-22 15:14:11 +02:00

Directory github.com/ooni/probe-cli/debian

This directory allows us to build debian packages.