mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
debian: Fail build if no module dependencies found
debian/rules uses --list-dependencies to collect the dependencies of all essential modules. Ensure that the list is not empty. Helps #2149. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
aaea6bf00e
commit
122bda7f7e
2
debian/rules
vendored
2
debian/rules
vendored
@ -10,6 +10,8 @@ override_dh_auto_install-indep:
|
|||||||
dh_auto_install
|
dh_auto_install
|
||||||
./run --develop --list-dependencies | sort | tr '\n' ', ' | \
|
./run --develop --list-dependencies | sort | tr '\n' ', ' | \
|
||||||
sed -e 's/^/freedombox:Depends=/' >> debian/freedombox.substvars
|
sed -e 's/^/freedombox:Depends=/' >> debian/freedombox.substvars
|
||||||
|
# Ensure the list of dependencies is not empty.
|
||||||
|
test -s debian/freedombox.substvars || exit 1
|
||||||
|
|
||||||
# pybuild can run pytest. However, when the top level directory is included in
|
# pybuild can run pytest. However, when the top level directory is included in
|
||||||
# the path (done using manage.py), it results in import problems.
|
# the path (done using manage.py), it results in import problems.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user