mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-04 03:36:57 +00:00
debian: split out the test suite to it's own package
Most people won't be running the installed-tests, but make it easy enough for them to get at them if they want to
This commit is contained in:
parent
cca4297153
commit
6db2a4057c
@ -106,6 +106,29 @@ Description: Firmware update daemon
|
||||
ColorHug are supported. More formats may be supported in the future.
|
||||
See <https://github.com/hughsie/fwupd> for details
|
||||
|
||||
Package: fwupd-tests
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends},
|
||||
ca-certificates,
|
||||
dbus-x11,
|
||||
fwupd,
|
||||
gnome-desktop-testing,
|
||||
python3-gi,
|
||||
python3-requests,
|
||||
Breaks: fwupd (<< 0.9.4-1)
|
||||
Replaces: fwupd (<< 0.9.4-1)
|
||||
Multi-Arch: foreign
|
||||
Description: Firmware update daemon
|
||||
fwupd is a daemon to allow session software to update device firmware.
|
||||
You can either use a GUI software manager like GNOME Software to view and
|
||||
apply updates, the command-line tool or the system D-Bus interface directly.
|
||||
Currently, firmware updates using the UEFI capsule format and for the
|
||||
ColorHug are supported. More formats may be supported in the future.
|
||||
See <https://github.com/hughsie/fwupd> for details
|
||||
.
|
||||
This package provides a set of installed tests that can be run to validate
|
||||
the daemon in a continuous integration system.
|
||||
|
||||
Package: fwupd-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
|
2
contrib/debian/fwupd-tests.install
Normal file
2
contrib/debian/fwupd-tests.install
Normal file
@ -0,0 +1,2 @@
|
||||
usr/share/installed-tests/*
|
||||
usr/lib/*/fwupd-plugins-2/libfu_plugin_test.so
|
@ -5,7 +5,6 @@ usr/share/app-info/*
|
||||
usr/share/dbus-1/*
|
||||
usr/share/polkit-1/*
|
||||
usr/share/locale
|
||||
usr/share/installed-tests/*
|
||||
usr/share/metainfo/*
|
||||
usr/lib/*/fwupd
|
||||
usr/share/man/man1/*
|
||||
|
@ -33,6 +33,8 @@ override_dh_install:
|
||||
sed -i 's,wheel,sudo,' ./debian/tmp/usr/share/polkit-1/rules.d/org.freedesktop.fwupd.rules
|
||||
dh_install
|
||||
dh_missing --fail-missing
|
||||
#this is placed in fwupd-tests
|
||||
rm -f debian/fwupd/usr/lib/*/fwupd-plugins-2/libfu_plugin_test.so
|
||||
|
||||
override_dh_strip_nondeterminism:
|
||||
dh_strip_nondeterminism -Xfirmware-example.xml.gz
|
||||
|
Loading…
Reference in New Issue
Block a user