[Merge] lp:~robru/phablet-tools/citrain-on-rtm into lp:phablet-tools
Oliver Grawert
ogra at ubuntu.com
Thu Sep 18 09:36:32 UTC 2014
hmm, this perl command prints nothing on a devel-proposed install ...
phablet at ubuntu-phablet:~$ system-image-cli -i
current build number: 244
device name: mako
channel: ubuntu-touch/devel-proposed
alias: ubuntu-touch/utopic-proposed
last update: 2014-09-17 09:24:18
version version: 244
version ubuntu: 20140917
version device: 20140917
version custom: mako-0.5
phablet at ubuntu-phablet:~$ system-image-cli -i | perl -lne 'm|^channel.*/(.*)/.*$| && print "$1"'
phablet at ubuntu-phablet:~$
how about instead something like:
DISTRO=""
if system-image-cli -i | grep ^channel: |grep -q rtm; then
DISTRO="ubuntu-rtm/"
fi
phablet-config writable-image --ppa $PPA/${DISTRO}${SILO}
(also note that this phablet-config command will fail if you dont hand over the sudo password with the -r or --remotepassword options, you should add a citrain option to hand this through to the phablet-config command)
--
https://code.launchpad.net/~robru/phablet-tools/citrain-on-rtm/+merge/235069
Your team Ubuntu Phablet Team is requested to review the proposed merge of lp:~robru/phablet-tools/citrain-on-rtm into lp:phablet-tools.
More information about the Ubuntu-reviews
mailing list