fwupd/contrib
2021-03-31 10:28:27 -05:00
..
ci trivial: ci: disable LTO for clang (fixes: #3089) 2021-03-31 10:28:27 -05:00
debian contrib/qubes: Add Qubes wrapper source and create packages 2021-02-26 06:40:21 +00: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
qubes trivial: Codespell fixes 2021-03-19 16:42:33 +00: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 contrib/qubes: Add Qubes wrapper source and create packages 2021-02-26 06:40:21 +00:00
generate-version-script.py trivial: Allow overriding symbol versions where required 2021-01-28 17:41:46 +00:00
meson.build contrib/qubes: Add Qubes wrapper source and create packages 2021-02-26 06:40:21 +00:00
mingw64.cross Allow building on Windows with MinGW 2019-12-03 16:33:43 +00:00
PKGBUILD trivial: Rename spi to intel-spi as it's all Intel specific 2021-03-20 12:24:27 +00:00
README.md contrib/README.md: Update instructions for distribution packages 2021-02-26 06:40:21 +00:00
setup-win32.nsi Remove unused, unsafe and deprecated functions from libfwupdplugin 2021-03-09 15:47:56 +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 build

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

docker run --privileged -t -v `pwd`:/github/workspace fwupd-fedora

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

To build additional RPM packages for Qubes OS (fwupd-qubes-dom0 and fwupd-qubes-vm) add QUBES=true environment variable:

docker run --privileged -e QUBES=true  -t -v `pwd`:/github/workspace fwupd-fedora

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 build
OS=debian-i386 ./generate_docker.py build
OS=ubuntu-x86_64 ./generate_docker.py build

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

docker run --privileged -t -v `pwd`:/github/workspace fwupd-debian-x86_64
docker run --privileged -t -v `pwd`:/github/workspace fwupd-debian-i386
docker run --privileged -t -v `pwd`:/github/workspace fwupd-ubuntu-x86_64

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

To build additional DEB package for Qubes OS (fwupd-qubes-vm-whonix) add QUBES=true environment variable:

docker run --privileged -t -v `pwd`:/github/workspace fwupd-debian-x86_64-qubes

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