ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.6+esm1) bionic-security; urgency=medium

  * d/p/lp2023924-remove-quotes-from-state-dir.patch: fixes an issue where a
    weird directory would be created in root. This was created from the IMDSv2
    patch (LP: #2023924)
  * 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, 21 Nov 2023 15:17:59 -0700

ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.6) bionic; 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>  Thu, 21 Apr 2022 17:03:54 +1200

ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.5) bionic; urgency=medium

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

 -- Balint Reczey <rbalint@ubuntu.com>  Tue, 03 Nov 2020 19:41:35 +0100

ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.4) bionic; 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>  Mon, 23 Mar 2020 13:03:38 +0100

ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.3) bionic; urgency=medium

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

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

ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.2) bionic; 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.
  * 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 16:35:45 +0200

ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.1) bionic; urgency=medium

  * 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 22:12:05 +0200

ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.0) bionic; urgency=medium

  * Backport to Bionic (LP: #1812166)

 -- Balint Reczey <rbalint@ubuntu.com>  Fri, 01 Mar 2019 23:08:55 +0100

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

