mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-03-12 03:41:12 +00:00
Name the manifest the way ubuntu-cdimage expects it for subarchs
This commit is contained in:
parent
e96fa8b878
commit
696ae6e1eb
@ -15,6 +15,9 @@ if [ -z "${PROJECT:-}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Link output files somewhere BuildLiveCD will be able to find them.
|
||||
PREFIX="livecd.$PROJECT${SUBARCH:+-$SUBARCH}"
|
||||
|
||||
if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
|
||||
# Use ubuntu-image instead of live-build
|
||||
|
||||
@ -33,7 +36,7 @@ if [ "${IMAGEFORMAT:-}" = "ubuntu-image" ]; then
|
||||
ubuntu-image -c edge $extra_args \
|
||||
-o livecd."$PROJECT".img livecd."$PROJECT".model-assertion
|
||||
xz -0 -T4 livecd."$PROJECT".img
|
||||
mv seed.manifest livecd."$PROJECT".manifest
|
||||
mv seed.manifest "PREFIX".manifest
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@ -456,9 +459,6 @@ else
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Link output files somewhere BuildLiveCD will be able to find them.
|
||||
PREFIX="livecd.$PROJECT${SUBARCH:+-$SUBARCH}"
|
||||
|
||||
case $LB_INITRAMFS in
|
||||
casper)
|
||||
INITFS="casper"
|
||||
|
Loading…
x
Reference in New Issue
Block a user