Skip to content

Commit

Permalink
{rolling} libphidget22-upstream: disable debian package names
Browse files Browse the repository at this point in the history
Resolve problem with libphidget22 and Debian package naming rules.

The Debian package naming convention will rename a package after the
shared library name if it is the only thing present in the package.

This resulted in libphidget22-upstream being renamed to libphidget22
and there being 2 sets of packages present with that name.

As a workaround we set AUTO_LIBNAME_PKGS to empty to disable the Debian
naming rules for that package.

Signed-off-by: Rob Woolley <[email protected]>
Signed-off-by: Martin Jansa <[email protected]>
  • Loading branch information
robwoolley authored and shr-project committed Nov 19, 2021
1 parent 45e1150 commit 93a8ff2
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ SRC_URI[patch.sha256sum] = "00aa71a94773cfd9ca4db0741415699b5c11de1e803ad973130d

inherit autotools

# Resulting package can conflict with generated ROS recipe libphidget22, disable debian naming to
# keep libphidget22-upstream PN package name
AUTO_LIBNAME_PKGS = ""

do_configure:prepend() {
# configure.ac uses this to define version (1.6 is taken from configure included in tarball, but autotools.bbclass runs autoreconf which fails without layer_version file)
echo "1.6" > ${S}/library_version
Expand Down

0 comments on commit 93a8ff2

Please sign in to comment.