From 34d9e4db7e1576ca4c454902be2ce0be097504a8 Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Thu, 10 Feb 2022 13:44:42 +0100 Subject: [PATCH] support coi-dracut default poweroff Resolves: rhbz#2052957 Signed-off-by: Antonio Murdaca --- .gitignore | 1 + rust-coreos-installer.spec | 8 ++++++-- sources | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ef5017e..bce8ba5 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /coreos-installer-0.11.0-vendor.tar.gz /coreos-installer-dracut-33f4e13.tar.gz /coreos-installer-dracut-43d5fe4.tar.gz +/coreos-installer-dracut-ce0fe1e.tar.gz diff --git a/rust-coreos-installer.spec b/rust-coreos-installer.spec index b7ee0a3..3a500fe 100644 --- a/rust-coreos-installer.spec +++ b/rust-coreos-installer.spec @@ -5,14 +5,14 @@ # The library is for internal code reuse and is not a public API %global __cargo_is_lib 0 -%global dracutcommit 43d5fe41953412cafa9972fcca2f32ef9bba4d17 +%global dracutcommit ce0fe1ef3352827acc660a0c53156f68dc44bca7 %global dracutshortcommit %(c=%{dracutcommit}; echo ${c:0:7}) %global crate coreos-installer Name: rust-%{crate} Version: 0.11.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Installer for Fedora CoreOS and RHEL CoreOS # Upstream license specification: Apache-2.0 @@ -134,6 +134,7 @@ install -D -m 0644 -t %{buildroot}%{dracutlibdir}/modules.d/51coreos-installer c install -D -m 0644 -t %{buildroot}%{dracutlibdir}/modules.d/51coreos-installer coreos-installer-dracut-%{dracutcommit}/dracut/systemd/coreos-installer-luks-open.service install -D -m 0644 -t %{buildroot}%{dracutlibdir}/modules.d/51coreos-installer coreos-installer-dracut-%{dracutcommit}/dracut/systemd/coreos-installer-reboot.service install -D -m 0644 -t %{buildroot}%{dracutlibdir}/modules.d/51coreos-installer coreos-installer-dracut-%{dracutcommit}/dracut/systemd/coreos-installer-noreboot.service +install -D -m 0644 -t %{buildroot}%{dracutlibdir}/modules.d/51coreos-installer coreos-installer-dracut-%{dracutcommit}/dracut/systemd/coreos-installer-poweroff.service install -D -m 0755 -t %{buildroot}%{dracutlibdir}/modules.d/51coreos-installer coreos-installer-dracut-%{dracutcommit}/dracut/systemd/coreos-installer-generator %else %cargo_install -f rdcore @@ -200,6 +201,9 @@ from the initramfs. %endif %changelog +* Thu Feb 10 2022 Antonio Murdaca - 0.11.0-3 +- update coi-dracut to support default poweroff behavior + * Wed Jan 26 2022 Antonio Murdaca - 0.11.0-2 - Bump coreos-installer-dracut to support encrypted rootfs diff --git a/sources b/sources index f4b6d15..6451ad5 100644 --- a/sources +++ b/sources @@ -1,3 +1,4 @@ SHA512 (coreos-installer-0.11.0.crate) = a07d65b05ee25717dddccccb6c56367d1798f2e9c0c166ef4ffe42e2ecb9b246fd5bf2c4a0166f1908dd9a59d42db937a7bb3ba5f0a146e43882dea40df868db SHA512 (coreos-installer-0.11.0-vendor.tar.gz) = e813994338d0212e4cddafc969f99f285c441353756bc3f214943513a7999177300539aa98209a3bfdc54e29e2d60775ab492da7c066f2072e7674c08478c22f SHA512 (coreos-installer-dracut-43d5fe4.tar.gz) = bc0bc6894429979eac865da370ad469989426ac6415757b6bd26d86ddcd6c20112d95bf3636741142d5171bbeacef49892378af9acb1bb29cbe8bbac6f044f8e +SHA512 (coreos-installer-dracut-ce0fe1e.tar.gz) = 3aa974276207d6eb5b7139a449e77d43ea39dd759be2d92ae29d3607537b0d8cb03c9dd62578f5389115c5a27d3c96117013a43b371d27a28e290bb929d8874e