On Wednesday, 9 November 2022 14:42:01 CET Diederik de Haas wrote:
> On Thu, 28 Jan 2021 11:04:29 -0600 Gunnar Wolf wrote:
> > Now... What to do here? I think dpkg --compare-versions here agreees
> >
> > with the simplistic ordering set by ls:
> > $ if dpkg --compare-versions
On Thu, 28 Jan 2021 11:04:29 -0600 Gunnar Wolf wrote:
> tags 979977 + confirmed
> thanks
>
> Now... What to do here? I think dpkg --compare-versions here agreees
> with the simplistic ordering set by ls:
>
> $ if dpkg --compare-versions 5.10.0-trunk-armmp-lpae gt
> 5.10.0-1-armmp-lpae
>
On donderdag 28 januari 2021 18:04:29 CET Gunnar Wolf wrote:
> latest_initrd=$(ls -1 /boot/initrd.img-* | grep -v '\.dpkg-bak$' | sort
> -V -r | head -1) if [ -z "$latest_initrd" ]; then
> echo "raspi-firmware: no initrd found in /boot/initrd.img-*, cannot
> populate /boot/firmware" exit
tags 979977 + confirmed
thanks
Ummh, interesting...
Latest kernel and initrd are found by the following simplistic,
lexicographic logic:
latest_kernel=$(ls -1 /boot/vmlinuz-* | grep -v '\.dpkg-bak$' | sort -V -r
| head -1)
if [ -z "$latest_kernel" ]; then
echo "raspi-firmware: no
Package: raspi-firmware
Version: 1.20201022-2
Severity: important
Hi,
[Deliberately reporting again 1.20201022-2 in testing as this seems to
be the case since at least 1st of January 2021 where 1.20201022-3 wasn't
uploaded yet. I only discovered it a few days and first wanted to be
sure that I
5 matches
Mail list logo