HEX
Server: nginx/1.24.0
System: Linux ip-10-50-20-85 6.5.0-1022-aws #22~22.04.1-Ubuntu SMP Fri Jun 14 16:31:00 UTC 2024 x86_64
User: usefuloffices.org (1001)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: //usr/share/doc/needrestart/README.raspberry.md
needrestart - Raspberry Pi
==========================

Raspbian and other linux distros are installing multiple kernel images in
parallel:

- `kernel.img`
- `kernel7.img`
- `kernel7l.img`
- `kernel8.img`

This might result in a continuous pending kernel update false positive. There
is a configuration option in needrestart to filter the kernel image filenames to
ignore the unused image files. To filter the kernel image on a RPi 2 or RPi 3:

```shell
$ cat << EOF > /etc/needrestart/conf.d/kernel.conf
# Filter kernel image filenames by regex. This is required on Raspian having
# multiple kernel image variants installed in parallel.
$nrconf{kernelfilter} = qr(kernel7\.img);
EOF
```