|
|
@ -848,9 +848,15 @@ case $PROJECT in
|
|
|
|
# the GA and HWE kernels (in separate layers) so this code is
|
|
|
|
# the GA and HWE kernels (in separate layers) so this code is
|
|
|
|
# written generically to support both even though a lot of the
|
|
|
|
# written generically to support both even though a lot of the
|
|
|
|
# time only one kernel is offered.
|
|
|
|
# time only one kernel is offered.
|
|
|
|
|
|
|
|
case ${SUBARCH-} in
|
|
|
|
|
|
|
|
intel-iot)
|
|
|
|
|
|
|
|
variants='intel'
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
*)
|
|
|
|
# variants='ga hwe'
|
|
|
|
# variants='ga hwe'
|
|
|
|
variants='ga'
|
|
|
|
variants='ga'
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
for variant in $variants; do
|
|
|
|
for variant in $variants; do
|
|
|
|
if [ "$variant" = "ga" ]; then
|
|
|
|
if [ "$variant" = "ga" ]; then
|
|
|
@ -859,6 +865,9 @@ case $PROJECT in
|
|
|
|
elif [ "$variant" = "hwe" ]; then
|
|
|
|
elif [ "$variant" = "hwe" ]; then
|
|
|
|
kernel_metapkg=linux-generic-hwe-$(lsb_release -sr)
|
|
|
|
kernel_metapkg=linux-generic-hwe-$(lsb_release -sr)
|
|
|
|
flavor=generic-hwe
|
|
|
|
flavor=generic-hwe
|
|
|
|
|
|
|
|
elif [ "$variant" = "intel" ]; then
|
|
|
|
|
|
|
|
kernel_metapkg=linux-intel-iotg
|
|
|
|
|
|
|
|
flavor=intel-iotg
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "bogus variant: $variant"
|
|
|
|
echo "bogus variant: $variant"
|
|
|
|
exit 1
|
|
|
|
exit 1
|
|
|
|