fwupd/contrib
Mario Limonciello d97eb03b6b trivial: debian: calculate version number using git describe again
This will be more representative of what the build actually is
rather than a mismarked tag.

If the checkout doesn't include a tag, fallback to parsing meson.build
though.
2017-06-26 13:01:29 -05:00
..
ci trivial: debian: calculate version number using git describe again 2017-06-26 13:01:29 -05:00
debian debian: use dpkg-divert to adjust the launch script for CI testing 2017-06-22 14:44:58 -05:00
fwupd.spec.in Add some installed tests which require specific hardware 2017-06-22 09:36:32 +01:00
PKGBUILD trivial: Fixup the arch build to work on Travis 2017-06-26 12:57:55 -05:00
README.md Add Arch Linux to CI 2017-06-26 09:50:11 -05:00

Distribution packages

The relevant packaging necessary to generate RPM, DEB and PKG distribution packages is contained here. It is used regularly for continuous integration using Travis CI. The generated packages can be used on a distribution such as Fedora, Debian, Ubuntu or Arch Linux.

The build can be performed using Linux containers with Docker.

RPM packages

A Dockerfile for Fedora 25 is available here in contrib.

To prepare the Docker container run this command:

docker build -t fwupd-fedora-25 -f contrib/ci/Dockerfile-fedora-25 .

To build the RPMs run this command (from the root of your git checkout):

docker run -t -v `pwd`:/build fwupd-fedora-25 ./contrib/ci/build_and_install_rpms.sh

RPMs will be made available in your working directory when complete.

DEB packages

A Dockerfile is available for Debian unstable and Debian experimental. (Currently) builds can only be performed in Debian experimental due to dependencies not yet available in Debian unstable.

To prepare the Docker container run this command:

docker build -t fwupd-debian-experimental -f contrib/ci/Dockerfile-debian-experimental .

To build the DEBs run this command (from the root of your git checkout):

docker run -t -v `pwd`:/build fwupd-debian-experimental ./contrib/ci/build_and_install_debs.sh

DEBs will be made available in your working directory when complete.

To use the packages, you may need to enable the experimental repository for dependency resolution. Additional information is available here: https://wiki.debian.org/DebianExperimental

PKG packages

A Dockerfile is available for Arch Linux.

To prepare the Docker container run this command:

docker build -t fwupd-arch -f contrib/ci/Dockerfile-arch .

To build the PKGs run this command (from the root of your git checkout):

docker run -t -v `pwd`:/build fwupd-arch ./contrib/ci/build_and_install_pkgs.sh

PKGs will be made available in your working directory when complete.

Additional packages

Submissions for generating additional packages for other distribution mechanisms are also welcome.
All builds should occur in Docker containers.

Please feel free to submit the following:

  • Dockerfile for the container for your distro
  • Relevant technical packaging scripts (such as ebuilds, spec file etc)
  • A shell script that can be launched in the container to generate distribution packages