support --download-only option
Bug #1295148 reported by
Jani Monoses
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
goget-ubuntu-touch (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
It would be helpful to get tarballs for a specific channel/revision without going to the server and downloading them individually.
This would be useful for porters who would use those files along with their own device specific tarballs.
This step should work without the need for an adb connection.
Related branches
lp:~jani/goget-ubuntu-touch/download-only
- Sergio Schvezov: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 29 lines (+8/-0)2 files modifiedubuntu-device-flash/args.go (+1/-0)
ubuntu-device-flash/main.go (+7/-0)
Changed in goget-ubuntu-touch (Ubuntu): | |
status: | Expired → New |
To post a comment you must log in.
I don't understand how this helps porting.
Wouldn't something like this in the android tree be better?
function touch-provision() { DIR=~/source/ project- rootstock- ng "trusty- preinstalled- touch-armhf. tar.gz" BUILD_TOP" ]; then cdimage. ubuntu. com/ubuntu- touch/daily- preinstalled/ current/ $ROOTFS" -O "$OUT/$ROOTFS" DIR/rootstock- touch-install "$OUT/$ROOTFS" "$OUT/system.img"
ROOTSTOCK_
ROOTFS=
if [ -z "$ANDROID_
echo Not in android build environment
exit 1
fi
cd "$ROOTSTOCK_DIR" && bzr pull && cd -
wget -c "http://
$ROOTSTOCK_
}
With some better logic for corner cases that is