mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-22 21:40:35 +00:00
chore: Populate KERNEL_SUFFIX
This commit is contained in:
parent
265ac7e756
commit
51b3fa008b
@ -2,4 +2,10 @@
|
||||
|
||||
set -oue pipefail
|
||||
|
||||
if [[ "${AKMODS_FLAVOR}" == "surface" ]]; then
|
||||
KERNEL_SUFFIX="surface"
|
||||
else
|
||||
KERNEL_SUFFIX=""
|
||||
fi
|
||||
|
||||
/usr/libexec/rpm-ostree/wrapped/dracut --no-hostonly --kver "$(rpm -qa | grep -P 'kernel-(|'"$KERNEL_SUFFIX"'-)(\d+\.\d+\.\d+)' | sed -E 's/kernel-(|'"$KERNEL_SUFFIX"'-)//')" --reproducible -v --add ostree -f /tmp/dracut
|
Loading…
x
Reference in New Issue
Block a user