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
=== removed file 'chroot_local-hooks/04-update_gdm_custom.sh'
--- chroot_local-hooks/04-update_gdm_custom.sh 2010-10-06 22:02:21 +0000
+++ chroot_local-hooks/04-update_gdm_custom.sh 1970-01-01 00:00:00 +0000
@@ -1,24 +0,0 @@
1#!/bin/sh
2
3echo "I: create / modify /etc/gdm/custom.conf"
4
5if [ -e /etc/gdm/custom.conf ]; then
6
7sed -i 's/\(AutomaticLogin=\).*/\1linaro/g' /etc/gdm/custom.conf
8sed -i 's/\(AutomaticLoginEnable=\).*/\1true/g' /etc/gdm/custom.conf
9
10
11else
12
13cat > /etc/gdm/custom.conf <<EOF
14[daemon]
15DefaultSession=xubuntu
16
17AutomaticLoginEnable=true
18AutomaticLogin=linaro
19
20[greeter]
21Include=linaro
22EOF
23
24fi
250
=== removed file 'chroot_local-hooks/06-update_gdm_PostSession.sh'
--- chroot_local-hooks/06-update_gdm_PostSession.sh 2010-10-06 22:09:53 +0000
+++ chroot_local-hooks/06-update_gdm_PostSession.sh 1970-01-01 00:00:00 +0000
@@ -1,19 +0,0 @@
1#!/bin/sh
2
3echo "I: create / modify /etc/gdm/PostSession/Default"
4
5if [ -e /etc/gdm/PostSession/Default ]; then
6
7# there's no point fixing it up, let's just do the right thing
8rm /etc/gdm/PostSession/Default
9
10fi
11
12cat > /etc/gdm/PostSession/Default <<EOF
13#!/bin/sh
14
15/sbin/restart gdm
16
17exit 0
18EOF
19
200
=== added directory 'chroot_local-includes/etc'
=== added directory 'chroot_local-includes/etc/gdm'
=== added file 'chroot_local-includes/etc/gdm/custom.conf'
--- chroot_local-includes/etc/gdm/custom.conf 1970-01-01 00:00:00 +0000
+++ chroot_local-includes/etc/gdm/custom.conf 2010-10-11 16:03:41 +0000
@@ -0,0 +1,9 @@
1[daemon]
2DefaultSession=xubuntu
3
4AutomaticLoginEnable=true
5AutomaticLogin=linaro
6
7[greeter]
8Include=linaro
9

Subscribers

People subscribed via source and target branches

to all changes: