Merge lp:~cyphermox/casper/shutdown into lp:ubuntu/vivid/casper

Proposed by Mathieu Trudel-Lapierre
Status: Merged
Approved by: Mathieu Trudel-Lapierre
Approved revision: 1172
Merged at revision: 1172
Proposed branch: lp:~cyphermox/casper/shutdown
Merge into: lp:ubuntu/vivid/casper
Diff against target: 102 lines (+34/-6)
5 files modified
bin/casper-stop (+6/-4)
debian/casper.service (+3/-2)
debian/changelog (+19/-0)
scripts/casper-bottom/25disable_cdrom.mount (+3/-0)
scripts/casper-bottom/34disable_kde_services (+3/-0)
To merge this branch: bzr merge lp:~cyphermox/casper/shutdown
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+256024@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
=== modified file 'bin/casper-stop'
--- bin/casper-stop 2015-03-26 03:02:27 +0000
+++ bin/casper-stop 2015-04-13 19:48:18 +0000
@@ -25,8 +25,10 @@
25 path="$1"25 path="$1"
2626
27 if [ -d "$path" ]; then27 if [ -d "$path" ]; then
28 find "$path" -type f | xargs cat > /dev/null 2>&128 for f in $(find "$path" -type f); do
29 elif [ -f "$path" ]; then29 cache_path "$f"
30 done
31 elif [ -f "$path" ] && [ ! -L "$path" ]; then
30 if [ -x "$path" ]; then32 if [ -x "$path" ]; then
31 if file -L "$path" | grep -q 'dynamically linked'; then33 if file -L "$path" | grep -q 'dynamically linked'; then
32 for lib in $(ldd "$path" | awk '{ print $3 }'); do34 for lib in $(ldd "$path" | awk '{ print $3 }'); do
@@ -34,7 +36,7 @@
34 done36 done
35 fi37 fi
36 fi38 fi
37 cat "$path" >/dev/null 2>&139 echo -n >> "$path"
38 fi40 fi
39}41}
4042
@@ -73,7 +75,7 @@
73 prompt=75 prompt=
74 fi76 fi
7577
76 for path in $(which halt) $(which reboot) /etc/rc?.d /etc/default $(which stty) /bin/plymouth; do78 for path in $(which halt) $(which reboot) /etc/rc?.d /etc/default $(which stty) /bin/plymouth /lib/plymouth /lib/*/plymouth /lib/systemd /etc/systemd /lib/*/libnss_files* /etc/nsswitch.conf /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf /etc/fonts/fonts.conf /etc/fonts/conf.d/60-latin.conf; do
77 cache_path "$path"79 cache_path "$path"
78 done80 done
7981
8082
=== modified file 'debian/casper.service'
--- debian/casper.service 2015-03-26 03:02:27 +0000
+++ debian/casper.service 2015-04-13 19:48:18 +0000
@@ -1,11 +1,12 @@
1[Unit]1[Unit]
2Description=Shuts down the "live" preinstalled system cleanly2Description=Shuts down the "live" preinstalled system cleanly
3DefaultDependencies=no3DefaultDependencies=no
4Before=shutdown.target4Before=final.target
5After=shutdown.target umount.target
56
6[Service]7[Service]
7Type=oneshot8Type=oneshot
8ExecStart=/sbin/casper-stop9ExecStart=/sbin/casper-stop
910
10[Install]11[Install]
11WantedBy=shutdown.target12WantedBy=final.target
1213
=== modified file 'debian/changelog'
--- debian/changelog 2015-03-27 11:03:03 +0000
+++ debian/changelog 2015-04-13 19:48:18 +0000
@@ -1,3 +1,22 @@
1casper (1.359) UNRELEASED; urgency=medium
2
3 * Do a better job at caching files we might need for plymouth and systemd
4 on shutdown. (LP: #1436656)
5 * debian/casper.service: Order the casper service just before final.target
6 so it's running at a better point in time on shutdown.
7 * scripts/casper-bottom/25disable_cdrom.mount: mask the cdrom.mount task,
8 so it doesn't unncessarily spin trying to unmount the cdrom, which casper
9 will do. (LP: #1436715)
10
11 -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 13 Apr 2015 09:56:23 -0500
12
13casper (1.358) vivid; urgency=medium
14
15 * In 34disable_kde_services disable kubuntu-notification-helper and
16 muon notifications on live system
17
18 -- Jonathan Riddell <jriddell@ubuntu.com> Thu, 02 Apr 2015 15:09:31 +0200
19
1casper (1.357) vivid; urgency=medium20casper (1.357) vivid; urgency=medium
221
3 * Adjust screenlocker disabling for Kubuntu with Plasma 5.3 the locking22 * Adjust screenlocker disabling for Kubuntu with Plasma 5.3 the locking
423
=== added file 'scripts/casper-bottom/25disable_cdrom.mount'
--- scripts/casper-bottom/25disable_cdrom.mount 1970-01-01 00:00:00 +0000
+++ scripts/casper-bottom/25disable_cdrom.mount 2015-04-13 19:48:18 +0000
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3ln -s /dev/null /root/lib/systemd/system/cdrom.mount
04
=== modified file 'scripts/casper-bottom/34disable_kde_services'
--- scripts/casper-bottom/34disable_kde_services 2015-03-27 11:03:03 +0000
+++ scripts/casper-bottom/34disable_kde_services 2015-04-13 19:48:18 +0000
@@ -39,6 +39,9 @@
39if [ -d /root/usr/share/kubuntu-default-settings/kf5-settings/ ]; then39if [ -d /root/usr/share/kubuntu-default-settings/kf5-settings/ ]; then
40 printf "[Daemon]\nTimeout=0\nAutolock=false\n" >> /root/usr/share/kubuntu-default-settings/kf5-settings/kscreenlockerrc40 printf "[Daemon]\nTimeout=0\nAutolock=false\n" >> /root/usr/share/kubuntu-default-settings/kf5-settings/kscreenlockerrc
41 printf "[Basic Settings]\nIndexing-Enabled=false\n" >> /root/usr/share/kubuntu-default-settings/kf5-settings/baloofilerc41 printf "[Basic Settings]\nIndexing-Enabled=false\n" >> /root/usr/share/kubuntu-default-settings/kf5-settings/baloofilerc
42 printf "[Module-notificationhelper]\nautoload=false\n" >> /root/usr/share/kubuntu-default-settings/kf5-settings/kded5rc
43 printf "[Event/Update]\nAction=\n" >> /root/usr/share/kubuntu-default-settings/kf5-settings/muonabstractnotifier.notifyrc
44 printf "[Event/Update]\nAction=\n" >> /root/usr/share/kubuntu-default-settings/kf5-settings/muonapplicationnotifier.notifyrc
42fi45fi
4346
44log_end_msg47log_end_msg

Subscribers

People subscribed via source and target branches