protection-domain-mapper (1.0-4ubuntu2) mantic; urgency=medium

  * Restrict pd-mapper.service for MIR to just linux-laptop kernel and
    apply lots of protection to it.

 -- Dimitri John Ledkov <dimitri.ledkov@canonical.com>  Wed, 11 Oct 2023 00:00:02 +0100

protection-domain-mapper (1.0-4ubuntu1) mantic; urgency=medium

  * Add depends on qrtr-tools as pd-mapper.service requires
    qrtr-ns.service. LP: #2038944

 -- Dimitri John Ledkov <dimitri.ledkov@canonical.com>  Tue, 10 Oct 2023 18:52:41 +0100

protection-domain-mapper (1.0-4) unstable; urgency=medium

  [ Dmitry Baryshkov ]
  * d/patches: fix crash if /lib/firmware/updates doesn't exist
    opendir returns NULL in case of error, not -ERROR. Fix error condition
    check to prevent calling readdir on NULL argument.
  * d/patches: don't call dirname second time
    dirname modifies passed argument, so don't call it again. Instead
    concatenating firmware_value would result in the proper path being
    constructed.
    (Closes: #1030969)

 -- Arnaud Ferraris <aferraris@debian.org>  Fri, 10 Feb 2023 08:58:47 +0100

protection-domain-mapper (1.0-3) unstable; urgency=medium

  * d/patches: allow loading firmware from the `updates` folder
    `/lib/firmware/updates` is a legitimate location for firmware files,
    `pd-mapper` should look there as well and avoid crashing if it can't
    find a firmware folder.

 -- Arnaud Ferraris <aferraris@debian.org>  Thu, 09 Feb 2023 19:43:43 +0100

protection-domain-mapper (1.0-2) unstable; urgency=medium

  * d/rules: install service file under `/lib/systemd`
    `debhelper` looks for service files under `/lib/systemd`, but ignores
    those installed under `/usr/lib/systemd`, so we need to install our
    service file to the former location to have it auto-enabled on install.

 -- Arnaud Ferraris <aferraris@debian.org>  Wed, 11 Jan 2023 00:12:55 +0100

protection-domain-mapper (1.0-1) unstable; urgency=medium

  * New upstream version 1.0
  * d/control: bump Standards-Version, no change required

 -- Arnaud Ferraris <aferraris@debian.org>  Tue, 03 Jan 2023 10:43:31 +0100

protection-domain-mapper (0.0+git20220208-1) unstable; urgency=medium

  * Initial Debian packaging (Closes: #1016011)

 -- Arnaud Ferraris <aferraris@debian.org>  Fri, 05 Aug 2022 11:07:06 +0200
