From ef61ca251106caf391f5c20ff358e40386741e8d Mon Sep 17 00:00:00 2001 From: Sergio Schvezov Date: Sun, 11 Aug 2013 19:05:10 -0300 Subject: [PATCH 1/6] Reenabling click package installation hook. --- debian/changelog | 6 ++++++ live-build/ubuntu-touch/hooks/60-install-click.chroot | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 83aee46b..a0d55296 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.172) UNRELEASED; urgency=low + + * Reenabling click package installation hook. + + -- Sergio Schvezov Sun, 11 Aug 2013 19:03:53 -0300 + livecd-rootfs (2.171) saucy; urgency=low * seems unlike my local build the buildd doesnt get along with links, use diff --git a/live-build/ubuntu-touch/hooks/60-install-click.chroot b/live-build/ubuntu-touch/hooks/60-install-click.chroot index 96c560ed..7c6f7cb5 100755 --- a/live-build/ubuntu-touch/hooks/60-install-click.chroot +++ b/live-build/ubuntu-touch/hooks/60-install-click.chroot @@ -1,11 +1,5 @@ #!/bin/sh -cat < Date: Mon, 12 Aug 2013 15:21:29 +0200 Subject: [PATCH 2/6] releasing version 2.172 --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index a0d55296..15359759 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -livecd-rootfs (2.172) UNRELEASED; urgency=low +livecd-rootfs (2.172) saucy; urgency=low * Reenabling click package installation hook. From e6cd959f4c9352fb7b725d2b659b1f085fd89f69 Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Mon, 12 Aug 2013 15:42:36 -0400 Subject: [PATCH 3/6] Mark the 'system' uid 1000 user as a system user, to avoid it showing up in the greeter --- live-build/ubuntu-touch/hooks/01-setup_user.chroot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/live-build/ubuntu-touch/hooks/01-setup_user.chroot b/live-build/ubuntu-touch/hooks/01-setup_user.chroot index b214eb58..dd62f494 100755 --- a/live-build/ubuntu-touch/hooks/01-setup_user.chroot +++ b/live-build/ubuntu-touch/hooks/01-setup_user.chroot @@ -12,6 +12,9 @@ echo "$USER:$USER" | chpasswd adduser --gecos system --no-create-home --disabled-login --disabled-password system --uid 1000 adduser --gecos radio --no-create-home --disabled-login --disabled-password radio --uid 1001 +# Prevent the system user from being presented in the greeter by bumping MIN_UID +sed -i 's/^\(UID_MIN\s\+\).*/\11001/g' /etc/login.defs + mkdir -p /home/$USER/Music mkdir -p /home/$USER/Pictures mkdir -p /home/$USER/Videos From 59117feb80e6411129292de56843e0998629c2b5 Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Mon, 12 Aug 2013 15:46:43 -0400 Subject: [PATCH 4/6] Switch min uid to 1002 --- 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 dd62f494..72d14214 100755 --- a/live-build/ubuntu-touch/hooks/01-setup_user.chroot +++ b/live-build/ubuntu-touch/hooks/01-setup_user.chroot @@ -13,7 +13,7 @@ adduser --gecos system --no-create-home --disabled-login --disabled-password sys adduser --gecos radio --no-create-home --disabled-login --disabled-password radio --uid 1001 # Prevent the system user from being presented in the greeter by bumping MIN_UID -sed -i 's/^\(UID_MIN\s\+\).*/\11001/g' /etc/login.defs +sed -i 's/^\(UID_MIN\s\+\).*/\11002/g' /etc/login.defs mkdir -p /home/$USER/Music mkdir -p /home/$USER/Pictures From 131add046d0339fea5d16ab0cca43bb8178c526d Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Mon, 12 Aug 2013 19:29:45 -0400 Subject: [PATCH 5/6] Add user to nopasswdlogin group too --- live-build/ubuntu-touch/hooks/01-setup_user.chroot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/live-build/ubuntu-touch/hooks/01-setup_user.chroot b/live-build/ubuntu-touch/hooks/01-setup_user.chroot index 72d14214..20883e13 100755 --- a/live-build/ubuntu-touch/hooks/01-setup_user.chroot +++ b/live-build/ubuntu-touch/hooks/01-setup_user.chroot @@ -9,6 +9,9 @@ adduser --gecos $USER --disabled-login $USER --uid $UGID echo "I: set user $USER password to $USER" echo "$USER:$USER" | chpasswd +echo "I: allowing user to log in without password" +gpasswd -a $USER nopasswdlogin + adduser --gecos system --no-create-home --disabled-login --disabled-password system --uid 1000 adduser --gecos radio --no-create-home --disabled-login --disabled-password radio --uid 1001 From 81d81cfdab5fa75511385712d83e89cc1fd294ed Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Wed, 14 Aug 2013 11:06:03 +0200 Subject: [PATCH 6/6] releasing version 2.173 --- debian/changelog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 5b584b3e..282a2725 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -livecd-rootfs (2.173) UNRELEASED; urgency=low +livecd-rootfs (2.173) saucy; urgency=low [Michael Terry] * Add phablet user to nopasswdlogin group on Touch images