ExpressLRS / ExpressLRS-Configurator

Cross platform configuration & build tool for the ExpressLRS radio link
GNU General Public License v3.0
596 stars 130 forks source link

Dpkg installation fails if /opt is on a different device than /usr #654

Closed a1j closed 1 month ago

a1j commented 2 months ago

Expected Behavior

Installation succeeds

Current Behavior

installation fails with following error:

dpkg: error processing archive expresslrs-configurator_1.7.2_amd64.deb (--install):
 error creating hard link './usr/share/icons/hicolor/96x96/apps/expresslrs-configurator.png': Invalid cross-device link

Steps to Reproduce

  1. mount /opt filesystem on a separate block device

  2. Attempt to install debian package

Possible Solution (Not obligatory)

There should be no hardlinks between top level directories because noone guarantees they are on the same block device. This is mentioned in Debian policy, and probably would have been captured with lintian, if it was being used.

Context

Your Environment

jurgelenas commented 1 month ago

Closing in favor of #375