mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-12 22:07:10 +00:00
fix corename
This commit is contained in:
parent
45dd439f68
commit
460d363b84
@ -329,8 +329,9 @@ if [ "$PROJECT:$SUBPROJECT" = "ubuntu-core:system-image" ]; then
|
||||
|
||||
VERSION="$(lsb_release -r -s)+$(date +20%y%m%d.%H-%M)"
|
||||
|
||||
CORENAME="ubuntu-core"
|
||||
cat > $rootfs/meta/snap.yaml <<EOF
|
||||
name: ubuntu-core
|
||||
name: $CORENAME
|
||||
version: $VERSION
|
||||
summary: The core runtime environment for snapd
|
||||
architectures: [$ARCH]
|
||||
@ -340,7 +341,7 @@ EOF
|
||||
apt-get -y install snapcraft
|
||||
snapcraft snap $rootfs
|
||||
|
||||
snapfile="$(ls core*.snap)"
|
||||
snapfile="$(ls ${CORENAME}*.snap)"
|
||||
cp -a $snapfile $PREFIX.os.snap
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user