livecd-rootfs/live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot
James Hunt e11f18b965 Import patches-unapplied version 2.248 to ubuntu/utopic-proposed
Imported using git-ubuntu import.

Changelog parent: 720ff888d355d17f6d3bb0c25cdea3ecd01b827f

New changelog entries:
  * live-build/ubuntu-core/hooks/06-handle_resolvconf.chroot: Configure
    resolv.conf for Ubuntu Core. 
  * live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot:
    Configure system-image-cli's client.ini for Ubuntu Core. This can be
    dropped once bug 1373467 is fixed.
2014-10-03 23:18:11 +00:00

8 lines
249 B
Bash
Executable File

#!/bin/sh -x
# Change default cache partition (until LP: #1373467 is fixed).
if [ -f /etc/system-image/client.ini ]; then
sed -ie 's!cache_partition: /android/cache/recovery!cache_partition: /userdata/cache!g' \
/etc/system-image/client.ini
fi