Skip to content

Commit

Permalink
Make dummy-dependency caching work reliably on Qubes OS
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrayBolt3 committed Jan 20, 2025
1 parent 4a23994 commit 1e240b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions debian/helper-scripts.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ if [ -d /run/systemd/system ] ; then
systemd-tmpfiles --create /usr/lib/tmpfiles.d/$DPKG_MAINTSCRIPT_PACKAGE.conf >/dev/null || true
fi

## Make sure dummy-dependency's cache directory exists so that Qubes bind-dirs
## works right
mkdir --parents /var/lib/dummy-dependency

true "INFO: debhelper beginning here."

#DEBHELPER#
Expand Down
6 changes: 6 additions & 0 deletions usr/lib/qubes-bind-dirs.d/40_helper-scripts.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Copyright (C) 2012 - 2025 ENCRYPTED SUPPORT LLC <[email protected]>
## See the file COPYING for copying conditions.

## needed for dummy-dependency to cache packages, which is needed by
## passwordless-root
binds+=( '/var/lib/dummy-dependency' )

0 comments on commit 1e240b3

Please sign in to comment.