I don't understand how this helps porting.

Wouldn't something like this in the android tree be better?

function touch-provision() {
        ROOTSTOCK_DIR=~/source/project-rootstock-ng
        ROOTFS="trusty-preinstalled-touch-armhf.tar.gz"
        if [ -z "$ANDROID_BUILD_TOP" ]; then
                echo Not in android build environment
                exit 1
        fi
        cd "$ROOTSTOCK_DIR" && bzr pull && cd -
        wget -c 
"http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/current/$ROOTFS"; -O 
"$OUT/$ROOTFS"
        $ROOTSTOCK_DIR/rootstock-touch-install "$OUT/$ROOTFS" "$OUT/system.img"
}

With some better logic for corner cases that is

** Changed in: goget-ubuntu-touch (Ubuntu)
       Status: New => Incomplete

** Changed in: goget-ubuntu-touch (Ubuntu)
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1295148

Title:
  support --download-only option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/goget-ubuntu-touch/+bug/1295148/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to