fwupd/contrib
Mario Limonciello 355f5c12d6 firmware-packager: Make it clearer to use
1) Remove the confusing --firmware-id and build this field dynamically based on GUID and Developer name
2) Make developer name mandatory
3) Rename device-unique-id to device-guid to more closely reflect how fwupdmgr shows it
4) Allow running on Windows
2018-10-24 06:12:31 -05:00
..
ci Sort the firmware sack by component priority 2018-10-23 09:20:02 +01:00
debian trivial: debian: Make control file statement more generic (Closes: #911505) 2018-10-22 07:50:26 -05:00
firmware-packager firmware-packager: Make it clearer to use 2018-10-24 06:12:31 -05:00
flatpak trivial: Install the various python deps as part of the flatpak build 2018-06-28 15:51:11 +01:00
snap trivial: snap: Use libxmlb subproject instead 2018-10-18 21:25:56 +01:00
standalone-installer trivial: standalone: Check argument make sense with command 2018-09-20 11:56:42 -05:00
vscode contrib: Add information on how to use debugging scripts 2018-10-11 07:43:56 -05:00
fwupd.spec.in Sort the firmware sack by component priority 2018-10-23 09:20:02 +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
nvme-parse.py trivial: Add the script used to generate the NVMe stats 2018-09-04 20:37:17 +01:00
org.freedesktop.fwupd.json Sort the firmware sack by component priority 2018-10-23 09:20:02 +01:00
PKGBUILD Port from libappstream-glib to libxmlb 2018-10-17 14:41:13 +01:00
README.md trivial: contrib: Update README for proper docker command (Closes: #615) 2018-08-09 13:22:29 +01: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