livecd-rootfs/live-build/ubuntu-touch/hooks/49-setup-demo-assets.chroot
Colin Watson f00349b766 Import patches-unapplied version 2.125 to ubuntu/saucy-proposed
Imported using git-ubuntu import.

Changelog parent: 65b7f7a10a9bd05c60185f5c282af1a4c4efff57

New changelog entries:
  * live-build/auto/config: Add basic ubuntu-touch enablement (based on
    patch from Oliver Grawert, for which thanks).
  * live-build/auto/config, live-build/ubuntu-touch: Copy a huge pile of
    customisation by Ricardo Salveti from
    lp:~phablet-team/touch-preview-images/ubuntu-build-phablet, which should
    be close to enough for the architecture-independent parts of
    ubuntu-touch builds.
2013-05-01 19:33:32 +00:00

16 lines
538 B
Bash
Executable File

#!/bin/bash
# Extract pictures to user
tar -C /home/phablet/Pictures/ --strip-components=1 -xzf \
/usr/share/demo-assets/pictures.tgz
chown -R phablet:phablet /home/phablet/Pictures
# Copy videos to user
cp -p /usr/share/demo-assets/videos/* /home/phablet/Videos/
chown -R phablet:phablet /home/phablet/Videos
# Set up fake telepathy-logger data
mkdir -p /home/phablet/.local/share/TpLogger/logs
cp -aRp /usr/share/demo-assets/telephony-app/* /home/phablet/.local/share/TpLogger/logs
chown -R phablet.phablet /home/phablet/.local/