fwupd/contrib
2021-02-17 08:48:45 +00:00
..
ci pixart: Fuzz the firmware parser 2021-02-17 08:48:45 +00:00
debian trivial: debian: update signing template to match downstream 2021-02-16 08:05:49 -06:00
firmware_packager trivial: install_dell_bios_exe: fixup uefi-capsule -> uefi_capsule 2021-02-07 23:49:27 -06:00
flatpak@3e60bea4e7 contrib: Adjust flatpak build for moving to flathub 2018-11-01 06:51:23 -05:00
snap trivial: make dbxtool executable to fix snap build 2020-11-05 13:00:33 +00:00
standalone-installer Use black to format python source in a consistent manner 2020-04-13 23:06:30 +01:00
vscode contrib: Add information on how to use debugging scripts 2018-10-11 07:43:56 -05:00
fix_translations.py Use black to format python source in a consistent manner 2020-04-13 23:06:30 +01:00
fwupd.spec.in Allow building without SBAT metadata 2021-02-16 11:04:47 +00:00
generate-version-script.py trivial: Allow overriding symbol versions where required 2021-01-28 17:41:46 +00:00
meson.build Generate a win32 setup binary 2020-01-16 12:23:08 -06:00
mingw64.cross Allow building on Windows with MinGW 2019-12-03 16:33:43 +00:00
PKGBUILD contrib/PKGBUILD: Ensure pkgver gets expanded as an bash variable 2021-02-16 10:40:07 -06:00
README.md trivial: contrib: Update README for proper docker command (Closes: #615) 2018-08-09 13:22:29 +01:00
setup-win32.nsi Switch from libsoup to libcurl 2020-11-19 19:39:37 +00: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 --privileged -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 --privileged -t -v `pwd`:/build fwupd-debian-x86_64
docker run --privileged -t -v `pwd`:/build fwupd-debian-i386
docker run --privileged -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