fwupd/contrib
2022-08-30 12:06:16 -05:00
..
ci trivial: windows: Install windows service 2022-08-30 12:06:16 -05:00
debian trivial: fix a docs directory check inversion 2022-08-05 11:45:19 -05:00
firmware_packager trivial: add get-bios-setting command to simple-client (#4947) 2022-08-24 21:19:23 +00:00
flatpak@3e60bea4e7 contrib: Adjust flatpak build for moving to flathub 2018-11-01 06:51:23 -05:00
freebsd trivial: change docs to a meson feature (Fixes: #4791) 2022-07-01 10:56:12 +01:00
qubes Migrate away from the deprecated distutils 2022-07-19 13:34:02 +01:00
snap trivial: snap: don't try to copy /var if it's not in the snap 2021-12-17 11:05:05 -06:00
standalone-installer trivial: update markdown for pre-commit style 2021-07-18 14:42:47 -05:00
vscode trivial: change docs to a meson feature (Fixes: #4791) 2022-07-01 10:56:12 +01:00
build-openbmc.sh Convert HSI into a meson tristate-feature 2022-08-22 06:03:38 -05:00
build-windows.sh Convert HSI into a meson tristate-feature 2022-08-22 06:03:38 -05:00
codespell.cfg trivial: add a codespell pre-commit hook 2021-06-16 06:41:46 -05:00
fix_translations.py trivial: Fix Python linting issue spotted by Codacy 2021-07-14 15:20:57 +01:00
fwupd.spec.in trivial: fix documentation deployement 2022-08-29 18:20:46 -05:00
fwupd.wxs.in Do not install ca-bundle.crt on win32 as it's no longer required 2022-05-11 09:07:48 -05:00
generate-emulation.py trivial: Unify ambiguity between bios-attrs and bios-settings 2022-08-24 07:20:01 -05:00
generate-gresource-xml.py Build the quirk files into the daemon as a GResource 2022-06-30 18:52:24 +01:00
generate-version-script.py trivial: Drop the use of setuptools for regenerating ld version file 2022-01-31 09:32:58 +00:00
meson.build trivial: Make meson.build indentation consistent 2022-06-21 03:27:38 -04:00
migrate.py Remove fu_i2c_device_read_full() 2022-06-14 14:36:52 -05:00
mingw64.cross Fix windows CI using the latest meson version 2022-06-08 15:24:25 +01:00
PKGBUILD trivial: change docs to a meson feature (Fixes: #4791) 2022-07-01 10:56:12 +01:00
prepare-system trivial: symlink in grub configuration too 2021-07-28 10:25:47 -05:00
README.md trivial: update markdown for pre-commit style 2021-07-18 14:42:47 -05:00
reformat-code.py trivial: make contrib/reformat-code.py easier to use 2021-07-30 06:42:57 -05:00
run-tests.sh Offer to run tests before pushing in contrib/setup 2021-11-23 15:41:46 +01:00
setup trivial: shuffle the order of contrib/setup 2022-07-23 14:01:31 -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 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