mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
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:
@@ -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} ]
|
||||
|
||||
Reference in New Issue
Block a user