Use right lsb_release argument for HWE kernel name (-sc -> bionic, need -sr -> 18.04).

sil2100/raspi-wpasupplicant
Michael Hudson-Doyle 6 years ago
parent f81fb59a00
commit 1e9fc65863

2
debian/changelog vendored

@ -2,6 +2,8 @@ livecd-rootfs (2.551) UNRELEASED; urgency=medium
* Do no install openssh-server in the base filsystem for the live server * Do no install openssh-server in the base filsystem for the live server
installer. installer.
* Use right lsb_release argument for HWE kernel name (-sc -> bionic, need
-sr -> 18.04).
-- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Mon, 17 Dec 2018 13:40:21 +1300 -- Michael Hudson-Doyle <michael.hudson@ubuntu.com> Mon, 17 Dec 2018 13:40:21 +1300

@ -35,7 +35,7 @@ for variant in $variants; do
kernel_metapkg=linux-generic kernel_metapkg=linux-generic
flavor=generic flavor=generic
elif [ "$variant" = "hwe" ]; then elif [ "$variant" = "hwe" ]; then
kernel_metapkg=linux-generic-hwe-$(lsb_release -sc) kernel_metapkg=linux-generic-hwe-$(lsb_release -sr)
flavor=generic-hwe flavor=generic-hwe
else else
echo "bogus variant: $variant" echo "bogus variant: $variant"

Loading…
Cancel
Save