-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
debian: Cleanup build process using more debhelper features #223
debian: Cleanup build process using more debhelper features #223
Commits on Feb 29, 2024
-
pam/generate: Explicitly generate internal proto
It's a dependency of the module code so it should be generated first
Configuration menu - View commit details
-
Copy full SHA for b416aca - Browse repository at this point
Copy the full SHA b416acaView commit details -
pam/generate.sh: Compute project root path correctly
It has to work even if the script is called directly, not just from `go generate`
Configuration menu - View commit details
-
Copy full SHA for 46f17ff - Browse repository at this point
Copy the full SHA 46f17ffView commit details -
pam: Fix generation of module at bootstrap
If we generate the module without any generated file around we fail, to ensure this works we need to also run again the generation process but skipping what we've done already.
Configuration menu - View commit details
-
Copy full SHA for 5642bea - Browse repository at this point
Copy the full SHA 5642beaView commit details -
db_test: Ignore permission test when building the package
We may run as root when building inside schroot, so ignore in such case.
Configuration menu - View commit details
-
Copy full SHA for 4a98eca - Browse repository at this point
Copy the full SHA 4a98ecaView commit details -
internal/daemon: Add generation script for generating grpctestservice
So that running `go generate ./...` will also recreate this file
Configuration menu - View commit details
-
Copy full SHA for f496fa4 - Browse repository at this point
Copy the full SHA f496fa4View commit details -
systemd: Fix path of the authd daemon
This works for now as /sbin is linked to /usr/sbin but let's set it correctly
Configuration menu - View commit details
-
Copy full SHA for ee563aa - Browse repository at this point
Copy the full SHA ee563aaView commit details -
debian/control: Do not install dbus if tests are disabled
If building with `DEB_BUILD_OPTIONS=nocheck`, we don't need to run dbus-daemon at all, so mark it as such.
Configuration menu - View commit details
-
Copy full SHA for f65c9b8 - Browse repository at this point
Copy the full SHA f65c9b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b2b502 - Browse repository at this point
Copy the full SHA 8b2b502View commit details -
Configuration menu - View commit details
-
Copy full SHA for b37306a - Browse repository at this point
Copy the full SHA b37306aView commit details -
debian/rules: Install files without repeating their name
Install can be used as an advanced "mv" that makes directories too, so do it so that we don't have to repeat the file names on target.
Configuration menu - View commit details
-
Copy full SHA for 4a649bf - Browse repository at this point
Copy the full SHA 4a649bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for d08a628 - Browse repository at this point
Copy the full SHA d08a628View commit details -
Configuration menu - View commit details
-
Copy full SHA for 429baea - Browse repository at this point
Copy the full SHA 429baeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 759452d - Browse repository at this point
Copy the full SHA 759452dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9325b38 - Browse repository at this point
Copy the full SHA 9325b38View commit details -
nss: Explicitly set rustix as a dependency using libc
This is something we were forcing at package build level only but it's better to do it all the times
Configuration menu - View commit details
-
Copy full SHA for 2a6fe1f - Browse repository at this point
Copy the full SHA 2a6fe1fView commit details -
debian/vendor-rust: Use a temporary CARGO_HOME unless specified
We should not depend on developers environment when building a pacakge so use a temporary CARGO_HOME, unless a different one is specified
Configuration menu - View commit details
-
Copy full SHA for d9361a2 - Browse repository at this point
Copy the full SHA d9361a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11d408a - Browse repository at this point
Copy the full SHA 11d408aView commit details -
debian/docs: Expose the Cargo.locks file in docs
This is what dh-cargo does by default, so follow it
Configuration menu - View commit details
-
Copy full SHA for 87066ea - Browse repository at this point
Copy the full SHA 87066eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8c49d8 - Browse repository at this point
Copy the full SHA d8c49d8View commit details -
debian/control: Depend on pkgconf not on legacy pkg-config
The latter was the legacy name
Configuration menu - View commit details
-
Copy full SHA for a240959 - Browse repository at this point
Copy the full SHA a240959View commit details -
Configuration menu - View commit details
-
Copy full SHA for be20979 - Browse repository at this point
Copy the full SHA be20979View commit details -
debian/rules: Install systemd units under /usr
Installing outside /usr is something that debian is deprecating
Configuration menu - View commit details
-
Copy full SHA for e9abc72 - Browse repository at this point
Copy the full SHA e9abc72View commit details -
debian: Use install file to install artifacts
It allows more fine-grained control on what goes in the install path and avoids missing files
Configuration menu - View commit details
-
Copy full SHA for b8e04eb - Browse repository at this point
Copy the full SHA b8e04ebView commit details -
debian: Use dh-systemd to install systemd services
It handles upgrades and removal properly, keeping track of the service state.
Configuration menu - View commit details
-
Copy full SHA for 7fa5586 - Browse repository at this point
Copy the full SHA 7fa5586View commit details -
debian/tests: Use a script to launch autopkgtests
It makes things easier to catch and at the same time we can enforce more things such as disable internet access and force using local go toolchain
Configuration menu - View commit details
-
Copy full SHA for 9aae433 - Browse repository at this point
Copy the full SHA 9aae433View commit details -
systemd, debian: Install authd in /usr/libexec
authd is not a program that is meant to be ran by user, so there's no point for it being in PATH, as it's systemd running it. So move it where most daemons stay these daysystemd, debian: Install authd in /usr/libexec authd is not a program that is meant to be ran by user, so there's no point for it being in PATH, as it's systemd running it. So move it where most daemons stay these days
Configuration menu - View commit details
-
Copy full SHA for f59f9ea - Browse repository at this point
Copy the full SHA f59f9eaView commit details -
debian/rules: Explicitly set GOTOOLCHAIN=local
This is something that also dh-golang does but for some reason it's not picked up during build and so we may fail if bumping the toolchain
Configuration menu - View commit details
-
Copy full SHA for bea5daa - Browse repository at this point
Copy the full SHA bea5daaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87985bd - Browse repository at this point
Copy the full SHA 87985bdView commit details