From 936c3dbc797345a31b879b248bb701d2ec72503c Mon Sep 17 00:00:00 2001 From: Robert C Jennings Date: Fri, 6 Apr 2018 17:05:15 -0500 Subject: [PATCH] live-build/functions: Update snap seed.yaml format to comply with yaml spec --- live-build/functions | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/live-build/functions b/live-build/functions index dc78b953..298f7f08 100644 --- a/live-build/functions +++ b/live-build/functions @@ -386,13 +386,14 @@ _snap_preseed() { # Add the snap to the seed.yaml ! [ -e $seed_yaml ] && echo "snaps:" > $seed_yaml cat <> $seed_yaml -- name: ${SNAP_NAME} - channel: ${CHANNEL} + - + name: ${SNAP_NAME} + channel: ${CHANNEL} EOF - case ${SNAP} in */classic) echo " classic: true" >> $seed_yaml;; esac + case ${SNAP} in */classic) echo " classic: true" >> $seed_yaml;; esac - echo -n " file: " >> $seed_yaml + echo -n " file: " >> $seed_yaml (cd $snaps_dir; ls -1 ${SNAP_NAME}_*.snap) >> $seed_yaml }