From 39eb02ea86040daf03198b49acb409a8f4f7fa36 Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Mon, 1 Feb 2016 10:57:32 -0500 Subject: [PATCH 1/2] Use Ubuntu as phablet user's real name --- live-build/ubuntu-touch/hooks/01-setup_user.chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/ubuntu-touch/hooks/01-setup_user.chroot b/live-build/ubuntu-touch/hooks/01-setup_user.chroot index 1be0534d..7b5a0740 100755 --- a/live-build/ubuntu-touch/hooks/01-setup_user.chroot +++ b/live-build/ubuntu-touch/hooks/01-setup_user.chroot @@ -4,7 +4,7 @@ USER=phablet UGID=32011 echo "I: creating default user $USER" -adduser --gecos $USER --disabled-login $USER --uid $UGID +adduser --gecos Ubuntu --disabled-login $USER --uid $UGID echo "I: set user $USER password to blank" passwd -d $USER From 538192d3f482663444877044effe38ddb96fb0ab Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Mon, 1 Feb 2016 11:03:20 -0500 Subject: [PATCH 2/2] Make a variable because Saviq likes variables --- live-build/ubuntu-touch/hooks/01-setup_user.chroot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/live-build/ubuntu-touch/hooks/01-setup_user.chroot b/live-build/ubuntu-touch/hooks/01-setup_user.chroot index 7b5a0740..3232ef56 100755 --- a/live-build/ubuntu-touch/hooks/01-setup_user.chroot +++ b/live-build/ubuntu-touch/hooks/01-setup_user.chroot @@ -1,10 +1,11 @@ #!/bin/sh -x USER=phablet +GECOS=Ubuntu UGID=32011 echo "I: creating default user $USER" -adduser --gecos Ubuntu --disabled-login $USER --uid $UGID +adduser --gecos $GECOS --disabled-login $USER --uid $UGID echo "I: set user $USER password to blank" passwd -d $USER