From b38f657edce9de1696aac835968be6d21a278047 Mon Sep 17 00:00:00 2001 From: James Hunt Date: Fri, 26 Sep 2014 15:51:35 +0100 Subject: [PATCH] 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. --- debian/changelog | 8 ++++++++ .../hooks/07-configure-system-image-client.chroot | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100755 live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot diff --git a/debian/changelog b/debian/changelog index 92818f9e..bcbd8928 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (2.247) UNRELEASED; urgency=medium + + * 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. + + -- James Hunt Fri, 26 Sep 2014 15:49:12 +0100 + livecd-rootfs (2.246) utopic; urgency=medium * live-build/auto/config: Use ubuntukylin-live task for ubuntukylin, not diff --git a/live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot b/live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot new file mode 100755 index 00000000..130ad28b --- /dev/null +++ b/live-build/ubuntu-core/hooks/07-configure-system-image-client.chroot @@ -0,0 +1,7 @@ +#!/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