Merge lp:~tom-gall/linaro/live-helper-alip-setup-default-user into lp:~linaro-maintainers/linaro/live-helper.config.maverick.alip

Proposed by Tom Gall
Status: Merged
Merged at revision: 46
Proposed branch: lp:~tom-gall/linaro/live-helper-alip-setup-default-user
Merge into: lp:~linaro-maintainers/linaro/live-helper.config.maverick.alip
Diff against target: 68 lines (+9/-43)
3 files modified
chroot_local-hooks/04-update_gdm_custom.sh (+0/-24)
chroot_local-hooks/06-update_gdm_PostSession.sh (+0/-19)
chroot_local-includes/etc/gdm/custom.conf (+9/-0)
To merge this branch: bzr merge lp:~tom-gall/linaro/live-helper-alip-setup-default-user
Reviewer Review Type Date Requested Status
Jamie Bennett (community) Approve
Review via email: mp+38130@code.launchpad.net

Description of the change

- remove script to touch .ICEauthority (not needed)

- small update to handle case where the admin group might not exist yet

- remove script to update to /etc/gdm/custom.conf file, instead utilize lh chroot_local-include mechanism

To post a comment you must log in.
Revision history for this message
Jamie Bennett (jamiebennett) wrote :

Looks sane, merging.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== removed file 'chroot_local-hooks/04-update_gdm_custom.sh'
2--- chroot_local-hooks/04-update_gdm_custom.sh 2010-10-06 22:02:21 +0000
3+++ chroot_local-hooks/04-update_gdm_custom.sh 1970-01-01 00:00:00 +0000
4@@ -1,24 +0,0 @@
5-#!/bin/sh
6-
7-echo "I: create / modify /etc/gdm/custom.conf"
8-
9-if [ -e /etc/gdm/custom.conf ]; then
10-
11-sed -i 's/\(AutomaticLogin=\).*/\1linaro/g' /etc/gdm/custom.conf
12-sed -i 's/\(AutomaticLoginEnable=\).*/\1true/g' /etc/gdm/custom.conf
13-
14-
15-else
16-
17-cat > /etc/gdm/custom.conf <<EOF
18-[daemon]
19-DefaultSession=xubuntu
20-
21-AutomaticLoginEnable=true
22-AutomaticLogin=linaro
23-
24-[greeter]
25-Include=linaro
26-EOF
27-
28-fi
29
30=== removed file 'chroot_local-hooks/06-update_gdm_PostSession.sh'
31--- chroot_local-hooks/06-update_gdm_PostSession.sh 2010-10-06 22:09:53 +0000
32+++ chroot_local-hooks/06-update_gdm_PostSession.sh 1970-01-01 00:00:00 +0000
33@@ -1,19 +0,0 @@
34-#!/bin/sh
35-
36-echo "I: create / modify /etc/gdm/PostSession/Default"
37-
38-if [ -e /etc/gdm/PostSession/Default ]; then
39-
40-# there's no point fixing it up, let's just do the right thing
41-rm /etc/gdm/PostSession/Default
42-
43-fi
44-
45-cat > /etc/gdm/PostSession/Default <<EOF
46-#!/bin/sh
47-
48-/sbin/restart gdm
49-
50-exit 0
51-EOF
52-
53
54=== added directory 'chroot_local-includes/etc'
55=== added directory 'chroot_local-includes/etc/gdm'
56=== added file 'chroot_local-includes/etc/gdm/custom.conf'
57--- chroot_local-includes/etc/gdm/custom.conf 1970-01-01 00:00:00 +0000
58+++ chroot_local-includes/etc/gdm/custom.conf 2010-10-11 16:03:41 +0000
59@@ -0,0 +1,9 @@
60+[daemon]
61+DefaultSession=xubuntu
62+
63+AutomaticLoginEnable=true
64+AutomaticLogin=linaro
65+
66+[greeter]
67+Include=linaro
68+

Subscribers

People subscribed via source and target branches

to all changes: