Commit 0cb5b93
committed
hooks: update motd handling and remove 50-motd-news
The base-files package grew a new /etc/update-motd.d/50-motd-news
script during the lifetime of Core 16. This script wants to write
to the non-writable /var/cache/motd-news location and also needs
curl to work. So it fails and that leads to breaking the
/etc/update-motd.d/00-header script.
This commit disables the script and also adds a check to ensure
that no new files are added to /etc/update-motd.d without us
noticing.1 parent 9c67e47 commit 0cb5b93
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
0 commit comments