Create /lib/firmware/updates as a link to /var/lib/firmware

This will provide the user a place to drop firmware files needed by the

In the future (compat level >= 10) we'll want to move
debian/tmpfiles/linux-firmware.conf to debian/linux-firmware.tmpfile, so
it will be automatically installed by dh_installinit, and we can drop
Signed-off-by: default avatarJoão Paulo Rechi Vita <>
parent dda0c224
debian/tmpfiles/* /usr/lib/tmpfiles.d/
/var/lib/firmware /lib/firmware/updates
# Remove directory created by linux-firmware.conf tmpfiles.d entry,
# except if it contains user-installed files.
if [ -d ${DIR} ]; then
if [ -z "$(ls -A ${DIR})" ]; then
rmdir ${DIR}
echo "${DIR} is not empty, not removing"
...@@ -57,8 +57,10 @@ binary-indep: install-indep ...@@ -57,8 +57,10 @@ binary-indep: install-indep
dh_testdir dh_testdir
dh_testroot dh_testroot
dh_link -i
dh_installchangelogs -i dh_installchangelogs -i
dh_installdocs -i dh_installdocs -i
dh_install -i --fail-missing
dh_compress -i dh_compress -i
dh_fixperms -i dh_fixperms -i
dh_installdeb -i dh_installdeb -i
d /var/lib/firmware 0755 - - -
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