diff --git a/debian/changelog b/debian/changelog index 83aee46b..282a2725 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,18 @@ +livecd-rootfs (2.173) saucy; urgency=low + + [Michael Terry] + * Add phablet user to nopasswdlogin group on Touch images + * Switch min uid to 1002 to prevent system users from showing in + the greeter on Touch images + + -- Oliver Grawert Wed, 14 Aug 2013 11:01:47 +0200 + +livecd-rootfs (2.172) saucy; 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/01-setup_user.chroot b/live-build/ubuntu-touch/hooks/01-setup_user.chroot index dd62f494..20883e13 100755 --- a/live-build/ubuntu-touch/hooks/01-setup_user.chroot +++ b/live-build/ubuntu-touch/hooks/01-setup_user.chroot @@ -9,11 +9,14 @@ 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 # 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 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 <