fwupd/contrib
Richard Hughes 53237d26a1 Remove the ELF support from libdfu and move the code to the altos plugin
This was a mistake originally for two reasons:

 * The only device to use ELF as a deliverable is the altos devices
 * ELF has nothing to do with the DFU specification

This moves the code to where it belongs.
2017-09-07 18:39:23 +01:00
..
ci Use -Werror when building in Travis CI 2017-09-07 18:25:48 +01:00
debian Remove the ELF support from libdfu and move the code to the altos plugin 2017-09-07 18:39:23 +01:00
firmware-packager trivial: No need for a license in the README 2017-08-18 13:32:57 +01:00
fwupd.spec.in Do not install the libdfu helper library 2017-09-06 16:21:32 +01:00
meson.build Add a python script to create fwupd compatible cab files from Microsoft .exe files 2017-08-17 17:10:23 -05:00
PKGBUILD Use -Werror when building in Travis CI 2017-09-07 18:25:48 +01:00
README.md ci: switch to debian unstable 2017-08-04 09:53:53 -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 -f contrib/ci/Dockerfile-fedora .

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

docker run -t -v `pwd`:/build fwupd-fedora ./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.

To prepare the Docker container run this command:

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

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

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

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

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