./ 0000755 0000156 0000165 00000000000 12701445602 011076 5 ustar jenkins jenkins ./52-ubuntu-touch.conf 0000644 0000156 0000165 00000000310 12701445602 014625 0 ustar jenkins jenkins [SeatDefaults]
type=unity
user-session=ubuntu-touch
session-wrapper=/usr/sbin/ubuntu-touch-lightdm-session
unity-compositor-command=/usr/share/ubuntu-touch-session/usc-wrapper
[LightDM]
minimum-vt=1
./plymouth-log.override 0000644 0000156 0000165 00000000007 12701445602 015274 0 ustar jenkins jenkins manual
./platform-api/ 0000755 0000156 0000165 00000000000 12701445602 013471 5 ustar jenkins jenkins ./platform-api/application.conf 0000644 0000156 0000165 00000000020 12701445602 016633 0 ustar jenkins jenkins touch_mirclient
./touch-extrausers 0000644 0000156 0000165 00000000767 12701445602 014360 0 ustar jenkins jenkins Name: Extrausers authentication
Default: yes
Priority: 257
Auth-Type: Primary
Auth:
[success=end authinfo_unavail=ignore default=die] pam_extrausers.so nodelay nullok try_first_pass
Auth-Initial:
[success=end authinfo_unavail=ignore default=die] pam_extrausers.so nodelay nullok
Password-Type: Primary
Password:
[success=end default=ignore] pam_extrausers.so minlen=4 sha512 use_authtok try_first_pass
Password-Initial:
[success=end default=ignore] pam_extrausers.so minlen=4 sha512
./ubuntu-touch-session.d/ 0000755 0000156 0000165 00000000000 12701445602 015443 5 ustar jenkins jenkins ./ubuntu-touch-session.d/espressorf.conf 0000644 0000156 0000165 00000000040 12701445602 020477 0 ustar jenkins jenkins GRID_UNIT_PX=8
QTWEBKIT_DPR=1.0
./ubuntu-touch-session.d/hammerhead.conf 0000644 0000156 0000165 00000000041 12701445602 020400 0 ustar jenkins jenkins GRID_UNIT_PX=23
QTWEBKIT_DPR=2.5
./ubuntu-touch-session.d/espressowifi.conf 0000644 0000156 0000165 00000000040 12701445602 021026 0 ustar jenkins jenkins GRID_UNIT_PX=8
QTWEBKIT_DPR=1.0
./ubuntu-touch-session.d/flo.conf 0000644 0000156 0000165 00000000121 12701445602 017064 0 ustar jenkins jenkins GRID_UNIT_PX=18
QTWEBKIT_DPR=2.0
NATIVE_ORIENTATION=landscape
FORM_FACTOR=tablet
./ubuntu-touch-session.d/maguro.conf 0000644 0000156 0000165 00000000041 12701445602 017577 0 ustar jenkins jenkins GRID_UNIT_PX=18
QTWEBKIT_DPR=2.0
./ubuntu-touch-session.d/grouper.conf 0000644 0000156 0000165 00000000041 12701445602 017770 0 ustar jenkins jenkins GRID_UNIT_PX=14
QTWEBKIT_DPR=1.3
./ubuntu-touch-session.d/GT-N7000.conf 0000644 0000156 0000165 00000000041 12701445602 017321 0 ustar jenkins jenkins GRID_UNIT_PX=18
QTWEBKIT_DPR=1.5
./ubuntu-touch-session.d/GT-I9100.conf 0000644 0000156 0000165 00000000041 12701445602 017317 0 ustar jenkins jenkins GRID_UNIT_PX=11
QTWEBKIT_DPR=1.0
./ubuntu-touch-session.d/cdma_spyder.conf 0000644 0000156 0000165 00000000041 12701445602 020577 0 ustar jenkins jenkins GRID_UNIT_PX=12
QTWEBKIT_DPR=2.0
./ubuntu-touch-session.d/generic.conf 0000644 0000156 0000165 00000000041 12701445602 017721 0 ustar jenkins jenkins GRID_UNIT_PX=10
QTWEBKIT_DPR=1.0
./ubuntu-touch-session.d/GT-I9000B.conf 0000644 0000156 0000165 00000000041 12701445602 017420 0 ustar jenkins jenkins GRID_UNIT_PX=10
QTWEBKIT_DPR=1.0
./ubuntu-touch-session.d/dlx.conf 0000644 0000156 0000165 00000000041 12701445602 017074 0 ustar jenkins jenkins GRID_UNIT_PX=30
QTWEBKIT_DPR=2.5
./ubuntu-touch-session.d/GT-N8000.conf 0000644 0000156 0000165 00000000041 12701445602 017322 0 ustar jenkins jenkins GRID_UNIT_PX=10
QTWEBKIT_DPR=2.0
./ubuntu-touch-session.d/SGH-I777.conf 0000644 0000156 0000165 00000000041 12701445602 017361 0 ustar jenkins jenkins GRID_UNIT_PX=11
QTWEBKIT_DPR=1.0
./ubuntu-touch-session.d/cdma_targa.conf 0000644 0000156 0000165 00000000041 12701445602 020367 0 ustar jenkins jenkins GRID_UNIT_PX=12
QTWEBKIT_DPR=2.0
./ubuntu-touch-session.d/deb.conf 0000644 0000156 0000165 00000000076 12701445602 017047 0 ustar jenkins jenkins GRID_UNIT_PX=18
QTWEBKIT_DPR=2.0
NATIVE_ORIENTATION=landscape
./ubuntu-touch-session.d/generic_x86.conf 0000644 0000156 0000165 00000000041 12701445602 020426 0 ustar jenkins jenkins GRID_UNIT_PX=10
QTWEBKIT_DPR=1.0
./ubuntu-touch-session.d/android.conf 0000644 0000156 0000165 00000000101 12701445602 017722 0 ustar jenkins jenkins # Empty config file used by the bind mount (logic in the initrd)
./ubuntu-touch-session.d/u9200.conf 0000644 0000156 0000165 00000000041 12701445602 017064 0 ustar jenkins jenkins GRID_UNIT_PX=14
QTWEBKIT_DPR=1.5
./ubuntu-touch-session.d/cdma_maserati.conf 0000644 0000156 0000165 00000000041 12701445602 021076 0 ustar jenkins jenkins GRID_UNIT_PX=12
QTWEBKIT_DPR=2.0
./ubuntu-touch-session.d/umts_spyder.conf 0000644 0000156 0000165 00000000041 12701445602 020663 0 ustar jenkins jenkins GRID_UNIT_PX=12
QTWEBKIT_DPR=2.0
./ubuntu-touch-session.d/mako.conf 0000644 0000156 0000165 00000000063 12701445602 017240 0 ustar jenkins jenkins GRID_UNIT_PX=18
QTWEBKIT_DPR=2.0
FORM_FACTOR=phone
./ubuntu-touch-session.d/tf300t.conf 0000644 0000156 0000165 00000000041 12701445602 017325 0 ustar jenkins jenkins GRID_UNIT_PX=10
QTWEBKIT_DPR=1.6
./ubuntu-touch-session.d/manta.conf 0000644 0000156 0000165 00000000041 12701445602 017405 0 ustar jenkins jenkins GRID_UNIT_PX=20
QTWEBKIT_DPR=2.5
./ubuntu-touch-session.d/GT-N8013.conf 0000644 0000156 0000165 00000000041 12701445602 017326 0 ustar jenkins jenkins GRID_UNIT_PX=10
QTWEBKIT_DPR=2.0
./ubuntu-touch-session.d/cdma_solana.conf 0000644 0000156 0000165 00000000041 12701445602 020546 0 ustar jenkins jenkins GRID_UNIT_PX=12
QTWEBKIT_DPR=2.0
./startup-scripts/ 0000755 0000156 0000165 00000000000 12701445602 014265 5 ustar jenkins jenkins ./startup-scripts/create-online-accounts 0000755 0000156 0000165 00000006702 12701445602 020562 0 ustar jenkins jenkins #!/bin/bash
################################################################################
# Copyright 2012-2013 Canonical Ltd.
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3, as published
# by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranties of
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see .
################################################################################
FB_USERNAME=$1
FB_PASSWORD=$2
TWITTER_USERNAME=$3
TWITTER_PASSWORD=$4
CREATION_PARAMS_FB=('--print-id' \
-s 'auth/method=oauth2' \
-s 'auth/mechanism=user_agent' \
-s 'u:auth/oauth2/user_agent/WindowId=2341' \
-s 'auth/oauth2/user_agent/Host=www.facebook.com' \
-s 'auth/oauth2/user_agent/AuthPath=/dialog/oauth' \
-s 'auth/oauth2/user_agent/ClientId=302061903208115' \
-s 'auth/oauth2/user_agent/RedirectUri=https://www.facebook.com/connect/login_success.html' \
-s 'auth/oauth2/user_agent/ResponseType/item0=token' \
-s "as:auth/oauth2/user_agent/Scope=["\
"'publish_stream',"\
"'read_stream',"\
"'status_update',"\
"'user_photos',"\
"'friends_photos',"\
"'xmpp_login']" \
-s 'auth/oauth2/user_agent/Display=popup' \
)
CREATION_PARAMS_TWITTER=('--print-id' \
-s 'auth/method=oauth2' \
-s 'auth/mechanism=HMAC-SHA1' \
-s 'u:auth/oauth2/HMAC-SHA1/WindowId=2341' \
-s 'auth/oauth2/HMAC-SHA1/RequestEndpoint=https://api.twitter.com/oauth/request_token' \
-s 'auth/oauth2/HMAC-SHA1/TokenEndpoint=https://api.twitter.com/oauth/access_token' \
-s 'auth/oauth2/HMAC-SHA1/AuthorizationEndpoint=https://api.twitter.com/oauth/authorize' \
-s 'auth/oauth2/HMAC-SHA1/ConsumerKey=NGOB5S7sICsj6epjh0PhAw' \
-s 'auth/oauth2/HMAC-SHA1/ConsumerSecret=rbUEJCBEokMnGZd8bubd0QL2cSmoCjJeyiSJpnx3OM0' \
-s 'auth/oauth2/HMAC-SHA1/Callback=https://wiki.ubuntu.com/' \
)
account-console list | grep "provider"
if [ ${?} -ne "0" ]; then
ID_FACEBOOK="$(account-console create facebook ${CREATION_PARAMS_FB[@]})"
account-console edit "$ID_FACEBOOK" --username $FB_USERNAME --password $FB_PASSWORD
ID_TWITTER="$(account-console create twitter ${CREATION_PARAMS_TWITTER[@]})"
account-console edit "$ID_TWITTER" --username $TWITTER_USERNAME --password $TWITTER_PASSWORD
else
fb_array=( $(account-console list | grep facebook) )
ID_FACEBOOK=${fb_array[2]%?}
tw_array=( $(account-console list | grep twitter) )
ID_TWITTER=${tw_array[2]%?}
echo "Accounts already present"
fi
no_network=true
while [ $no_network == true ]; do
ip addr show wlan0 | grep "inet " &> /dev/null
if [ $? -eq 0 ]; then
no_network=false
else
sleep 5
fi
done
pkill signon-ui
signon-ui &
sleep 4
account-console login "${ID_FACEBOOK}" --service facebook-microblog
account-console login "${ID_TWITTER}" --service twitter-microblog
account-console edit "${ID_FACEBOOK}" --enable --service facebook-microblog
account-console edit "${ID_TWITTER}" --enable --service twitter-microblog
pkill friends-service
friends-service -do &
./apparmor.override 0000644 0000156 0000165 00000000523 12701445602 014460 0 ustar jenkins jenkins # Normally, the apparmor job waits for rc-sysinit to start, but since
# lightdm gets an override to no longer wait on the runlevel event, we
# have to override the apparmor job also.
#
# Waiting for lightdm should be safe on touch images since we don't have
# any daemons that get started with sysv init scripts
start on starting lightdm
./com.ubuntu.touch.NetworkManager.pkla 0000644 0000156 0000165 00000000650 12701445602 020113 0 ustar jenkins jenkins # This next block is actually a duplicate from livecd-rootfs. Once this lands
# in the image, we can remove the duplicate bits from livecd-rootfs.
[sudo-network-rights]
Identity=unix-group:sudo
Action=org.freedesktop.NetworkManager.*
ResultAny=no
ResultInactive=no
ResultActive=yes
[lightdm-network-rights]
Identity=unix-user:lightdm
Action=org.freedesktop.NetworkManager.*
ResultAny=no
ResultInactive=no
ResultActive=yes
./ubuntu-touch.desktop 0000644 0000156 0000165 00000000241 12701445602 015130 0 ustar jenkins jenkins [Desktop Entry]
Name=Ubuntu Touch
Exec=ubuntu-touch-session
TryExec=ubuntu-touch-session
Type=Application
X-LightDM-Session-Type=mir
X-LightDM-DesktopName=Unity
./usc-wrapper 0000755 0000156 0000165 00000000464 12701445602 013300 0 ustar jenkins jenkins #!/bin/sh
# We need to grab ANDROID_ROOT from /etc/environment, because Mir uses
# it to find input configuration files and autopilot won't work without that.
. /etc/environment
export ANDROID_ROOT
exec unity-system-compositor --disable-overlays=false --spinner=/usr/bin/unity-system-compositor-spinner $@
./plymouth.override 0000644 0000156 0000165 00000000007 12701445602 014515 0 ustar jenkins jenkins manual
./upstart-session/ 0000755 0000156 0000165 00000000000 12701445602 014261 5 ustar jenkins jenkins ./upstart-session/pulseaudio-trust-stored.conf.moved 0000644 0000156 0000165 00000001102 12701445602 023062 0 ustar jenkins jenkins description "Pulseaudio Trust Store Daemon"
start on started pulseaudio
stop on stopped pulseaudio
respawn
script
# Extra security until trust-stored handles DBus name owner changes
# for the service
sleep 2
exec /usr/bin/trust-stored-skeleton \
--remote-agent DBusRemoteAgent --bus=session \
--local-agent MirAgent \
--trusted-mir-socket=/var/run/user/$(id -u)/mir_socket_trusted \
--for-service PulseAudio \
--with-text-domain PulseAudio \
--store-bus session \
--disable-whitelisting=yes
end script
./upstart-session/cameraservice-trust-stored.conf.moved 0000644 0000156 0000165 00000002057 12701445602 023533 0 ustar jenkins jenkins description "CameraService Trust Store Daemon"
start on started dbus and xsession SESSION=ubuntu-touch
stop on runlevel [06]
respawn
script
timeout=800
service_socket=/dev/socket/camera_service/camera_service_to_trust
# loop and then exit, if camera service isnt up after 80 sec
# it is likely not starting at all (or not there)
while [ ! -e $service_socket ]; do
sleep 0.1
if [ "$timeout" -le 0 ]; then
stop; exit 0
fi
timeout=$(($timeout - 1))
done
# Extra security to make sure the service is bound to the sockec
# TODO check if needed by inspection of trust store library / camera service
sleep 1
exec /usr/bin/trust-stored-skeleton \
--remote-agent UnixDomainSocketRemoteAgent --endpoint=$service_socket \
--local-agent MirAgent \
--trusted-mir-socket=/var/run/user/$(id -u)/mir_socket_trusted \
--for-service CameraService \
--with-text-domain CameraService \
--store-bus session \
--disable-whitelisting=yes
end script
./upstart-session/bluez-mpris-proxy.conf 0000644 0000156 0000165 00000000305 12701445602 020556 0 ustar jenkins jenkins description "BlueZ MPRIS proxy"
author "Simon Fels "
start on started dbus
stop on session-end
respawn
exec /usr/lib/bluetooth/mpris-proxy -s core.ubuntu.media.Service
./upstart-session/maliit-server.conf 0000644 0000156 0000165 00000000545 12701445602 017717 0 ustar jenkins jenkins description "Maliit OSK Server"
author "Ricardo Mendoza "
# nowadays, maliit-server needs to start *after* unity8, or it crashes while
# trying to poke geometry
start on started unity8
stop on stopping unity8
# needed to fix lp:1233550
env QML_BAD_GUI_RENDER_LOOP=1
env PULSE_PROP='media.role=feedbacksound'
respawn
exec maliit-server
./upstart-session/indicator-sound.override 0000644 0000156 0000165 00000000744 12701445602 021131 0 ustar jenkins jenkins
# Ensure that Pulse is up before we are, which we unfortunately can't
# encode in start conditions because we might need to be started more
# than once where Pulse is only started once. This happens in the case
# of the wizard which starts and stops the indicators once and then
# unity restarts them
pre-start script
for num in $(seq 1 50); do
[ -S /run/user/`id -u`/pulse/dbus-socket ] && break
sleep 0.1
done
[ -S /run/user/`id -u`/pulse/dbus-socket ] || stop
end script
./upstart-session/xdg-dirs.conf 0000644 0000156 0000165 00000000734 12701445602 016655 0 ustar jenkins jenkins description "XDG user dirs handling"
author "Oliver Grawert "
start on startup
script
[ -e $HOME/.config/user-dirs.dirs ] || \
cat > $HOME/.config/user-dirs.dirs <