Merge ~dbungert/casper:set-nice into casper:main

Proposed by Dan Bungert
Status: Merged
Merge reported by: Dan Bungert
Merged at revision: eb5ef85cb33fba28f9ae6e8da6194aaa521d5a49
Proposed branch: ~dbungert/casper:set-nice
Merge into: casper:main
Diff against target: 26 lines (+7/-0)
2 files modified
debian/casper.casper-md5check.service (+1/-0)
debian/changelog (+6/-0)
Reviewer Review Type Date Requested Status
Ubuntu Installer Team Pending
Review via email: mp+441877@code.launchpad.net

Commit message

md5check: set nice

On Desktop, the md5check is running at the same time as the early parts
of the install. This risks making the system feel less responsive.
Set md5check to Nice=19.

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
diff --git a/debian/casper.casper-md5check.service b/debian/casper.casper-md5check.service
index 8edaf58..0af66ec 100644
--- a/debian/casper.casper-md5check.service
+++ b/debian/casper.casper-md5check.service
@@ -5,6 +5,7 @@ After=multi-user.target
5[Service]5[Service]
6Type=oneshot6Type=oneshot
7ExecStart=/usr/lib/casper/casper-md5check /cdrom /cdrom/md5sum.txt7ExecStart=/usr/lib/casper/casper-md5check /cdrom /cdrom/md5sum.txt
8Nice=19
8RemainAfterExit=yes9RemainAfterExit=yes
9IOSchedulingClass=idle10IOSchedulingClass=idle
10IOSchedulingPriority=711IOSchedulingPriority=7
diff --git a/debian/changelog b/debian/changelog
index 89facce..da57be5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
1casper (1.481) mantic; urgency=medium
2
3 * Set a nice value for md5check
4
5 -- Dan Bungert <daniel.bungert@canonical.com> Tue, 25 Apr 2023 13:42:22 +0200
6
1casper (1.480) lunar; urgency=medium7casper (1.480) lunar; urgency=medium
28
3 * Use --try-or-install in the systemd unit of the new desktop installer,9 * Use --try-or-install in the systemd unit of the new desktop installer,

Subscribers

People subscribed via source and target branches