Commit f9caed04 authored by Anton Midyukov's avatar Anton Midyukov

initrd-bootchain, initrd-propagator: use STAGE1_KFLAVOURS instead KFLAVOURS

The image and the installed system may have kernels with different KFLAVOUR.
parent 1bdd9b46
......@@ -4,7 +4,7 @@
fatal() { echo "** error: $@" >&1; exit 1; }
kver=
for KFLAVOUR in $GLOBAL_KFLAVOURS; do
for KFLAVOUR in $GLOBAL_STAGE1_KFLAVOURS; do
kver+=" $(rpm -qa 'kernel-image*' \
--qf '%{version}-%{name}-%{release}\n' \
| grep "$KFLAVOUR" \
......
......@@ -4,7 +4,7 @@
fatal() { echo "** error: $@" >&1; exit 1; }
kver=
for KFLAVOUR in $GLOBAL_KFLAVOURS; do
for KFLAVOUR in $GLOBAL_STAGE1_KFLAVOURS; do
kver+=" $(rpm -qa 'kernel-image*' \
--qf '%{version}-%{name}-%{release}\n' \
| grep "$KFLAVOUR" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment