Merge lp:~mterry/livecd-rootfs/ubuntu-real-name into lp:livecd-rootfs

Proposed by Michael Terry on 2016-02-01
Status: Merged
Approved by: Łukasz Zemczak on 2016-02-02
Approved revision: 1273
Merged at revision: 1279
Proposed branch: lp:~mterry/livecd-rootfs/ubuntu-real-name
Merge into: lp:livecd-rootfs
Diff against target: 16 lines (+2/-1)
1 file modified
live-build/ubuntu-touch/hooks/01-setup_user.chroot (+2/-1)
To merge this branch: bzr merge lp:~mterry/livecd-rootfs/ubuntu-real-name
Reviewer Review Type Date Requested Status
Łukasz Zemczak 2016-02-01 Approve on 2016-02-02
Michał Sawicz (community) Approve on 2016-02-01
Review via email: mp+284637@code.launchpad.net

Commit Message

Change real name for phablet user to "Ubuntu"

Description of the Change

Change real name for phablet user to "Ubuntu"

To post a comment you must log in.
1273. By Michael Terry on 2016-02-01

Make a variable because Saviq likes variables

Michał Sawicz (saviq) wrote :

Yes!

review: Approve
Łukasz Zemczak (sil2100) wrote :

+1, looks good here. Ship IT! (btw. variables are cool)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'live-build/ubuntu-touch/hooks/01-setup_user.chroot'
2--- live-build/ubuntu-touch/hooks/01-setup_user.chroot 2015-09-09 11:30:45 +0000
3+++ live-build/ubuntu-touch/hooks/01-setup_user.chroot 2016-02-01 16:03:32 +0000
4@@ -1,10 +1,11 @@
5 #!/bin/sh -x
6
7 USER=phablet
8+GECOS=Ubuntu
9 UGID=32011
10
11 echo "I: creating default user $USER"
12-adduser --gecos $USER --disabled-login $USER --uid $UGID
13+adduser --gecos $GECOS --disabled-login $USER --uid $UGID
14
15 echo "I: set user $USER password to blank"
16 passwd -d $USER

Subscribers

People subscribed via source and target branches