Merge ~renanrodrigo/update-notifier:file-based-motd-disable-noble into update-notifier:master
Proposed by
Renan Rodrigo
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 43f963f3e1140bda29d4fb17124541a01ca0f14f | ||||
Proposed branch: | ~renanrodrigo/update-notifier:file-based-motd-disable-noble | ||||
Merge into: | update-notifier:master | ||||
Diff against target: |
63 lines (+18/-17) 2 files modified
data/update-motd-updates-available (+12/-17) debian/changelog (+6/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nick Rosbrook | Approve | ||
Review via email: mp+461703@code.launchpad.net |
Description of the change
update-motd: use a marker file to hide esm updates information
Instead of a flag passed to the script, check for the existence of a marker file. This implements the same control level for any caller of the update-motd script.
To post a comment you must log in.
The marker file could live in /var/lib/ update- notifier/ instead of /var/lib/ ubuntu- advantage/ . In my initial idea, we would also make use of this file in the Pro Client. Now I see there is no need to (as I baked it into the udpate- motd-updates- available script itself...). Please let me know if you think it's better to check for a file in the update-notifier folder instead.