← Back to team overview

ubuntustudio-dev team mailing list archive

[Merge] lp:~didrocks/ubuntustudio-look/new-systemd-fsck into lp:ubuntustudio-look

 

Didier Roche has proposed merging lp:~didrocks/ubuntustudio-look/new-systemd-fsck into lp:ubuntustudio-look.

Requested reviews:
  Ubuntu Studio Development Team (ubuntustudio-dev)
Related bugs:
  Bug #1425434 in ubuntustudio-look (Ubuntu): "Support fsck progress report with systemd"
  https://bugs.launchpad.net/ubuntu/+source/ubuntustudio-look/+bug/1425434

For more details, see:
https://code.launchpad.net/~didrocks/ubuntustudio-look/new-systemd-fsck/+merge/250908

Adding fsck support with systemd. Uploaded to vivid.
(you should be able to pull/push that branch directly)

Aside note: can you please make sure that your branch is writable for people having upload rights to your packages? All other teams and flavors and ensuring this. Thanks!
-- 
Your team Ubuntu Studio Development Team is requested to review the proposed merge of lp:~didrocks/ubuntustudio-look/new-systemd-fsck into lp:ubuntustudio-look.
=== modified file 'debian/changelog'
--- debian/changelog	2014-03-18 09:00:57 +0000
+++ debian/changelog	2015-02-25 12:12:24 +0000
@@ -1,4 +1,11 @@
-ubuntustudio-look (0.48) UNRELEASED; urgency=low
+ubuntustudio-look (0.49) vivid; urgency=medium
+
+  * Add fsck report and cancel support with systemd to the logo theme
+    (LP: #1425434)
+
+ -- Didier Roche <didrocks@xxxxxxxxxx>  Wed, 25 Feb 2015 13:09:27 +0100
+
+ubuntustudio-look (0.48) trusty; urgency=low
 
   * Made wallpapers selectable from both XFCE and Gnome based DEs
     (lp: #1292550)

=== modified file 'lib/plymouth/themes/ubuntustudio-logo/mdv.script'
--- lib/plymouth/themes/ubuntustudio-logo/mdv.script	2011-01-25 02:58:53 +0000
+++ lib/plymouth/themes/ubuntustudio-logo/mdv.script	2015-02-25 12:12:24 +0000
@@ -1,5 +1,12 @@
 # Ubuntu Studio Plymouth theme
 
+fun strlen (string) {
+  i = 0;
+  while (String(string).CharAt(i))
+    i++;
+  return i;
+}
+
 Window.GetMaxWidth = fun (){
   i = 0;
   width = 0;
@@ -193,7 +200,11 @@
 
 fun display_message_callback (prompt)
   {
-  
+
+# Get the message without the "fsckd-cancel-msg" prefix as we don't support i18n
+if (prompt.SubString(0, 17) == "fsckd-cancel-msg:")
+    prompt = prompt.SubString(17, strlen(prompt));
+
 prompt = Image.Text(prompt,1.0, 1.0, 1.0);
 sprite_prompt.SetImage(prompt);
 sprite_prompt.SetPosition(Window.GetX() + (Window.GetWidth() - prompt.GetWidth()) / 2, Window.GetY() + Window.GetHeight() * 0.93, 2);


Follow ups