https://bugzilla.redhat.com/show_bug.cgi?id=2541665



--- Comment #3 from Jasper Nuyens <[email protected]> ---
Hi Justin,

Both changes are in 1.6.3:

1. Package the dracut hook and drop %post/%preun:

  %install
  ./modulejail --install-initramfs-hook --initramfs-builder dracut --destdir
%{buildroot}

  %files
  %dir %{_prefix}/lib/dracut/modules.d/99modulejail-strip
  %{_prefix}/lib/dracut/modules.d/99modulejail-strip/module-setup.sh

2. Disable the GitHub update check:

  sed -i 's/^UPDATE_CHECK_DEFAULT=1$/UPDATE_CHECK_DEFAULT=0/'
%{buildroot}%{_bindir}/modulejail

Tested on Fedora 45: rpm -V is clean, an upgrade from 1.6.2 takes over the old
hook file, removal deletes it, and the hook strips the blacklist from hostonly
images.

Source0:
https://github.com/jnuyens/modulejail/archive/v1.6.3/modulejail-1.6.3.tar.gz

Thanks,
Jasper


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2541665

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202541665%23c3

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to