Ubuntu Pastebin

Paste from casper at Thu, 22 Jan 2015 09:24:25 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
=== modified file 'debian/changelog'
--- debian/changelog	2015-01-21 16:15:26 +0000
+++ debian/changelog	2015-01-21 16:16:48 +0000
@@ -1,3 +1,10 @@
+casper (1.349) vivid; urgency=medium
+
+  * scripts/casper-bottom/51unity8-wizard: disable unity8's first run wizard,
+    users want to try unity8, not to configure their system
+
+ -- Sebastien Bacher <seb128@ubuntu.com>  Wed, 21 Jan 2015 17:15:28 +0100
+
 casper (1.348) vivid; urgency=low
 
   * scripts/casper: switch up to overlayfs V2 format (overlay filesystem

=== added file 'scripts/casper-bottom/51unity8_wizard'
--- scripts/casper-bottom/51unity8_wizard	1970-01-01 00:00:00 +0000
+++ scripts/casper-bottom/51unity8_wizard	2015-01-21 16:15:02 +0000
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+PREREQ=""
+DESCRIPTION="Disabling unity8's first run wizard..."
+
+prereqs()
+{
+       echo "$PREREQ"
+}
+
+case $1 in
+# get pre-requisites
+prereqs)
+       prereqs
+       exit 0
+       ;;
+esac
+
+. /scripts/casper-functions
+
+log_begin_msg "$DESCRIPTION"
+
+# Users want to try unity8, not to configure their system
+mkdir -p /root/home/$USERNAME/.config/ubuntu-system-settings
+touch /root/home/$USERNAME/.config/ubuntu-system-settings/wizard-has-run
+
+log_end_msg
Download as text