File: README.raspberry.md

package info (click to toggle)
needrestart 3.6-4%2Bdeb12u3
  • links: PTS
  • area: main
  • in suites:
  • size: 936 kB
  • sloc: perl: 3,371; sh: 277; makefile: 82
file content (22 lines) | stat: -rw-r--r-- 687 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
```