fwupd/contrib
Sjoerd Simons 0a4409f231 contrib/ci: Fix synapticmst test under arch ci build
The synaptic mst test wants to open its test files as r/w, however as the
arch build runs as user nobody that won't work unless the test files are
also owned by user nobody. To make that happen, copy the source tree
rather then symlinking it

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2018-04-12 20:31:30 -05:00
..
ci contrib/ci: Fix synapticmst test under arch ci build 2018-04-12 20:31:30 -05:00
debian Add bash completion for fwupdmgr 2018-02-28 06:40:59 -06:00
firmware-packager firmware-packager: Allow to create package out of provided binary 2018-03-09 18:53:45 +08:00
fwupd.spec.in Allow customising the warning shown when enabling the remote 2018-04-12 08:17:08 +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 Generate Vala bindings 2018-02-26 06:04:27 +00:00
README.md Rename ubuntu-clang to ubuntu-x86_64 2018-02-21 13:30:12 -06: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 can be generated in contrib.

To prepare the Docker container run this command:

OS=fedora ./generate_docker.py

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

docker run -t -v `pwd`:/build fwupd-fedora

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

DEB packages

A Dockerfile for Debian or Ubuntu can be generated in contrib.

To prepare the Docker container run one of these commands:

OS=debian-x86_64 ./generate_docker.py
OS=debian-i386 ./generate_docker.py
OS=ubuntu-x86_64 ./generate_docker.py

To build the DEBs run one of these commands (from the root of your git checkout):

docker run -t -v `pwd`:/build fwupd-debian-x86_64
docker run -t -v `pwd`:/build fwupd-debian-i386
docker run -t -v `pwd`:/build fwupd-ubuntu-x86_64

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

PKG packages

A Dockerfile for Arch can be generated in contrib.

To prepare the Docker container run this command:

OS=arch ./generate_docker.py

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

docker run -t -v `pwd`:/build fwupd-arch

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