ec2-hibinit-agent (1.0.0-0ubuntu11.22.04.5) jammy; urgency=medium

  * d/p/0015-ignore-setting-resume-offset-again-if-dev-snapshot-d.patch: do
    not set the snapshot swap area if /dev/snapshot does not exist. This is
    necessary to enable ARM hibernation. (LP: #2066999)

 -- Mitchell Dzurick <mitchell.dzurick@canonical.com>  Thu, 23 May 2024 16:43:57 -0700

ec2-hibinit-agent (1.0.0-0ubuntu11.22.04.4) jammy; urgency=medium

  * d/p/lp2031345-recreate-swap-file.patch: Reduce SWAP size if current SWAP
    is larger than needed (LP: #2031345)

 -- Mitchell Dzurick <mitchell.dzurick@canonical.com>  Mon, 28 Aug 2023 07:23:22 -0700

ec2-hibinit-agent (1.0.0-0ubuntu11.22.04.3) jammy; urgency=medium

    * d/p/lp2023924-remove-quotes-from-state-dir.patch: fixes an issue where a
      weird directory would be created in root (LP: #2023924)
    * d/p/lp2024505-fix-locale-issue.patch: fixes an issue where certain locales
      can cause an error when trying to decode the output of `df -P`
      (LP: #2024505)

 -- Mitchell Dzurick <mitchell.dzurick@canonical.com>  Tue, 20 Jun 2023 17:01:17 -0700

ec2-hibinit-agent (1.0.0-0ubuntu11.22.04.2) jammy; urgency=medium

  * d/p/lp1941785-Add-support-for-IMDSv2.patch: allow hibernation of
    AWS EC2 instances with IMDSv2 (LP: #1941785)

 -- Mitchell Dzurick <mitchell.dzurick@canonical.com>  Tue, 16 May 2023 15:43:29 -0700

ec2-hibinit-agent (1.0.0-0ubuntu11.22.04.1) jammy; urgency=medium

  * Swapon with maximum priority right before hibernation. This resolves
    swapfile priority issues with additional or multiple swapfiles enabled.
    (LP: #1968805)
    - d/p/lp1968805-Swapon-with-maximum-priority-before-hibernation.patch

 -- Matthew Ruffell <matthew.ruffell@canonical.com>  Wed, 13 Apr 2022 16:19:30 +1200

ec2-hibinit-agent (1.0.0-0ubuntu11) groovy; urgency=medium

  * Disable suspending the system (LP: #1898087)
  * Always set resume device by PARTUUID instead of by device name.
    Based on patch by Francis Ginther. (LP: #1896638)

 -- Balint Reczey <rbalint@ubuntu.com>  Wed, 14 Oct 2020 20:49:52 +0200

ec2-hibinit-agent (1.0.0-0ubuntu9) focal; urgency=medium

  * Don't restart systemd-networkd twice upon resume

 -- Balint Reczey <rbalint@ubuntu.com>  Mon, 23 Mar 2020 13:24:17 +0100

ec2-hibinit-agent (1.0.0-0ubuntu8) focal; urgency=medium

  * debian/hibinit-resume: Add extra steps around swapoff to avoid OOM errors.
    Also work around xen-netfront not resuming properly.
    Thanks to Francis Ginther for the initial patch (LP: #1863242, #1864041)

 -- Balint Reczey <rbalint@ubuntu.com>  Thu, 12 Mar 2020 14:05:06 +0100

ec2-hibinit-agent (1.0.0-0ubuntu7) eoan; urgency=medium

  * Handle power button ACPI event with acpid (LP: #1840909)

 -- Balint Reczey <rbalint@ubuntu.com>  Thu, 29 Aug 2019 22:16:15 +0200

ec2-hibinit-agent (1.0.0-0ubuntu6) eoan; urgency=medium

  * Drop 0007-Match-ACPI-sleep-action-in-a-very-liberal-way.patch.
    It turned out LP: #1831103 was responsible for the missing SBTN event
    and where it was fixed two events were handled causing two hibernations.
  * Call swapoff via systemd-run to avoid the command getting killed on timeout.
    Also stop swap after restarting systemd-networkd to recover network
    connectivity earlier.
  * debian/hibinit-agent.system-sleep: Restart systemd-networkd with --no-block
    to finish running the hook faster.

 -- Balint Reczey <rbalint@ubuntu.com>  Fri, 07 Jun 2019 13:02:59 +0200

ec2-hibinit-agent (1.0.0-0ubuntu5) eoan; urgency=medium

  * debian/gbp.conf: Fix packaging branch name
  * Restart systemd-networkd on resuming from hibernation.
    On resume the system sometimes does not restore network connections
    and this is a way of reliably triggering the restoration. (LP: #1830427)

 -- Balint Reczey <rbalint@ubuntu.com>  Fri, 24 May 2019 21:48:20 +0200

ec2-hibinit-agent (1.0.0-0ubuntu4) disco; urgency=medium

  * Update grub configuration snippet even when it exists but has outdated
    content

 -- Balint Reczey <rbalint@ubuntu.com>  Fri, 01 Mar 2019 22:43:46 +0100

ec2-hibinit-agent (1.0.0-0ubuntu3) disco; urgency=medium

  * Refer to root partition in resume=... the same way as GRUB2 refers to it
    (LP: #1818150)

 -- Balint Reczey <rbalint@ubuntu.com>  Thu, 28 Feb 2019 23:25:57 +0100

ec2-hibinit-agent (1.0.0-0ubuntu2) disco; urgency=medium

  * debian/gbp.conf: Use ubuntu/ prefix for tags
  * Silence swapoff when purging the package
  * Detect disabled hibernation with Python 3's urllib, too. (LP: #1817926)

 -- Balint Reczey <rbalint@ubuntu.com>  Wed, 27 Feb 2019 17:03:37 +0100

ec2-hibinit-agent (1.0.0-0ubuntu1) disco; urgency=medium

  * Initial release based on packaging of hibagent

 -- Balint Reczey <rbalint@ubuntu.com>  Wed, 16 Jan 2019 22:41:37 +0700

