Commit 41db9a3f authored by Cyril Brulebois's avatar Cyril Brulebois
Browse files

Add support for a Provides parameter to the install_fake_package() function.

It it's not specified, the Provides field gets an empty string and is
not included in the resulting binary.
parent 0fd5a638
......@@ -36,10 +36,11 @@ ensure_hook_dependency_is_installed() {
install_fake_package() {
local name version section tmp control_file
local name version section provides tmp control_file
ensure_hook_dependency_is_installed equivs
tmp="$(mktemp -d)"
......@@ -53,6 +54,7 @@ Package: ${name}
Version: ${version}
Maintainer: Tails developers <>
Architecture: all
Provides: ${provides}
Description: (Fake) ${name}
Dummy packaged used to meet some dependency without installing the
real ${name} package.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment