[Merge] lp:~rbalint/livecd-rootfs/use-ubuntu-image into lp:livecd-rootfs
Adam Conrad
adconrad at 0c3.net
Thu Apr 27 18:36:34 UTC 2017
Diff comments:
>
> === modified file 'live-build/auto/config'
> --- live-build/auto/config 2017-04-12 01:44:25 +0000
> +++ live-build/auto/config 2017-04-21 20:52:01 +0000
> @@ -145,6 +147,31 @@
> esac
> ;;
>
> + ubuntu-image)
> + case "$ARCH+${SUBARCH:-}" in
> + amd64+*)
> + MODEL=pc-amd64 ;;
> + i386+*)
> + MODEL=pc-i386 ;;
> + arm64+snapdragon)
> + MODEL=dragonboard ;;
> + armhf+raspi2)
> + MODEL=pi2 ;;
> + armhf+raspi3)
> + MODEL=pi3 ;;
> + *)
> + echo "Model $ARCH+${SUBARCH:-} unknown to livecd-rootfs" >&2
> + exit 1
> + ;;
> + esac
> + echo "IMAGEFORMAT=$IMAGEFORMAT" >> config/common
> + env SNAPPY_STORE_NO_CDN=1 snap known --remote model series=16 model="$MODEL" brand-id=canonical > config/livecd."$PROJECT".model-assertion
The original implementation wrote this to cwd intentionally so it would be picked up as a build artifact alongside the actual livefs, hence the peculiar naming scheme.
> + echo "Configured ubuntu-image for the following model assertion:"
> + cat config/livecd."$PROJECT".model-assertion
> + echo "----------------------------------------------------------"
> + exit 0
> + ;;
> +
> *)
> case $PROJECT in
> ubuntu-server|ubuntu-touch|ubuntu-touch-custom)
--
https://code.launchpad.net/~rbalint/livecd-rootfs/use-ubuntu-image/+merge/322323
Your team Ubuntu Core Development Team is requested to review the proposed merge of lp:~rbalint/livecd-rootfs/use-ubuntu-image into lp:livecd-rootfs.
More information about the Ubuntu-reviews
mailing list