Merge ~oddbloke/update-notifier:oddbloke/nbd into update-notifier:master

Proposed by Dan Watkins
Status: Merged
Merged at revision: f362b2c89160506c0d272425b3cf949bbf510168
Proposed branch: ~oddbloke/update-notifier:oddbloke/nbd
Merge into: update-notifier:master
Diff against target: 28 lines (+8/-1)
2 files modified
data/update-motd-fsck-at-reboot (+1/-1)
debian/changelog (+7/-0)
Reviewer Review Type Date Requested Status
Ubuntu Core Development Team Pending
Review via email: mp+427497@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/data/update-motd-fsck-at-reboot b/data/update-motd-fsck-at-reboot
2index 0335f3a..ce608ce 100755
3--- a/data/update-motd-fsck-at-reboot
4+++ b/data/update-motd-fsck-at-reboot
5@@ -38,7 +38,7 @@ if [ -n "$NEEDS_FSCK_CHECK" ]; then
6 {
7 check_occur_any=
8
9- ext_partitions=$(mount | awk '$5 ~ /^ext(2|3|4)$/ { print $1 }')
10+ ext_partitions=$(mount | awk '$5 ~ /^ext(2|3|4)$/ { print $1 }' | grep -v "/dev/nbd")
11 for part in $ext_partitions; do
12 dumpe2fs_out=$(dumpe2fs -h $part 2>/dev/null)
13 mount_count=$(echo "$dumpe2fs_out" | grep "^Mount count:"|cut -d':' -f 2-)
14diff --git a/debian/changelog b/debian/changelog
15index 5e6df89..b781412 100644
16--- a/debian/changelog
17+++ b/debian/changelog
18@@ -1,3 +1,10 @@
19+update-notifier (3.192.55) UNRELEASED; urgency=medium
20+
21+ * data/update-motd-fsck-at-reboot: exclude NBD devices from reporting
22+ (LP: #1982486)
23+
24+ -- Daniel Watkins <oddbloke@ubuntu.com> Wed, 27 Jul 2022 10:29:27 -0400
25+
26 update-notifier (3.192.54) jammy; urgency=medium
27
28 * d/95-hwe-eol: do not update eol data more than once per day (LP: #1893716)

Subscribers

People subscribed via source and target branches