mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-09-16 10:44:08 +00:00
Inform auto/build that we're using ubuntu-image.
This commit is contained in:
parent
24e3f4740d
commit
5c776d41f5
@ -481,7 +481,6 @@ case $IMAGEFORMAT in
|
|||||||
for snap in $EXTRA_SNAPS; do
|
for snap in $EXTRA_SNAPS; do
|
||||||
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --extra-snaps $snap"
|
UBUNTU_IMAGE_ARGS="$UBUNTU_IMAGE_ARGS --extra-snaps $snap"
|
||||||
done
|
done
|
||||||
echo "IMAGEFORMAT=$IMAGEFORMAT" >> config/common
|
|
||||||
echo "UBUNTU_IMAGE_ARGS=\"$UBUNTU_IMAGE_ARGS\"" >> config/common
|
echo "UBUNTU_IMAGE_ARGS=\"$UBUNTU_IMAGE_ARGS\"" >> config/common
|
||||||
# Store model assertion in top dir to get it picked up later as a build artifact
|
# Store model assertion in top dir to get it picked up later as a build artifact
|
||||||
env SNAPPY_STORE_NO_CDN=1 snap known --remote model series=16 model="$MODEL" brand-id=canonical > "$PREFIX".model-assertion
|
env SNAPPY_STORE_NO_CDN=1 snap known --remote model series=16 model="$MODEL" brand-id=canonical > "$PREFIX".model-assertion
|
||||||
@ -504,6 +503,9 @@ case $IMAGEFORMAT in
|
|||||||
|
|
||||||
# Save the model name used for building, mostly for any model-specific hook execution
|
# Save the model name used for building, mostly for any model-specific hook execution
|
||||||
echo "MODEL=$MODEL" >> config/common
|
echo "MODEL=$MODEL" >> config/common
|
||||||
|
# Inform auto/build that we're using ubuntu-image
|
||||||
|
echo "IMAGEFORMAT=$IMAGEFORMAT" >> config/common
|
||||||
|
|
||||||
# Fake finished configuration for lb build
|
# Fake finished configuration for lb build
|
||||||
mkdir -p .build
|
mkdir -p .build
|
||||||
touch .build/config
|
touch .build/config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user