update using_sbl_on_up2 doc and create-up2-images.sh

1. Fix the broken link to dwonload UP2 Board BIOS
2. In Clear Linux 31030 the acrn.apl-up2.sbl name is changed to
   acrn.apl-up2.sbl.sdc.32.out, so we need to update the creaet-up2-imgages.sh
3. Command "swupd verify --install -m" has been superseded, use "swupd
   os-install -V" instead.

Signed-off-by: Lei, Lu <leix.lu@intel.com>
This commit is contained in:
Lei, Lu
2019-09-19 11:56:07 +08:00
committed by deb-intel
parent 01a1aeb69f
commit 13b998f240
2 changed files with 8 additions and 8 deletions

View File

@@ -34,13 +34,13 @@ create_sos_images() {
mountpoint sos_rootfs || return 1
swupd verify --install --path=sos_rootfs --contenturl=$MIRRORURL --versionurl=$MIRRORURL --format=staging -m ${VERSION} ||
swupd os-install --path=sos_rootfs --contenturl=$MIRRORURL --versionurl=$MIRRORURL --format=staging -V ${VERSION} -N -b ||
{
echo "Failed to swupd install"
return 1
}
swupd bundle-add $SOS_BUNDLE_LIST --path=sos_rootfs --contenturl=$MIRRORURL --versionurl=$MIRRORURL --format=staging ||
swupd bundle-add --path=sos_rootfs --contenturl=$MIRRORURL --versionurl=$MIRRORURL --format=staging $SOS_BUNDLE_LIST ||
{
echo "Failed to swupd bundle add"
return 1
@@ -48,7 +48,7 @@ create_sos_images() {
if [[ ! ${ACRN_SBL} || ! -f ${ACRN_SBL} ]]
then
ACRN_SBL=sos_rootfs/usr/lib/acrn/acrn.apl-up2.sbl
ACRN_SBL=sos_rootfs/usr/lib/acrn/acrn.apl-up2.sbl.sdc.32.out
fi
if [ ${ACRN_HV_CODE_PATH} ]