Skip to content

Commit

Permalink
src/libpriv: Add kernel-install-integration
Browse files Browse the repository at this point in the history
This is part of the kernel-install integration work done in:
https://gitlab.com/fedora/bootc/base-images/-/merge_requests/62
#5135
containers/bootc#1018
  • Loading branch information
jmarrero committed Jan 10, 2025
1 parent b363506 commit dcbd66f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/libpriv/kernel-install-integration.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/bash
cat > /usr/lib/kernel/install.d/05-rpmostree.install << 'EOF'
#!/bin/bash
# This is the hook that has kernel-install call into rpm-ostree kernel-install
exec /usr/bin/rpm-ostree kernel-install "$@"
EOF
chmod +x /usr/lib/kernel/install.d/05-rpmostree.install

0 comments on commit dcbd66f

Please sign in to comment.