Add a U-Boot wrapped image of 'upgrade.img'.
For ARM systems that require U-Boot wrapped images, perform mkimage to create one for 'upgrade.img'. Signed-off-by: David A. Marlin <dmarlin@redhat.com>
This commit is contained in:
parent
cfa82ee93f
commit
53675e36ef
@ -35,6 +35,16 @@ mkdir ${KERNELDIR}
|
||||
%if doupgrade:
|
||||
## install upgrade image
|
||||
installupgradeinitrd images-${kernel.flavor}-${basearch} ${kernel.upgrade.path} ${KERNELDIR}/upgrade-${kernel.flavor}.img
|
||||
|
||||
runcmd mkimage \
|
||||
-A arm -O linux -T ramdisk -C none \
|
||||
-a 0 -e 0 \
|
||||
-n "${product.name} ${product.version} ${kernel.flavor} ${kernel.arch}" \
|
||||
-d ${outroot}/${KERNELDIR}/upgrade-${kernel.flavor}.img \
|
||||
${outroot}/${KERNELDIR}/uUpgrade-${kernel.flavor}
|
||||
|
||||
treeinfo images-${kernel.flavor}-${basearch} uupgrade ${KERNELDIR}/uUpgrade-${kernel.flavor}
|
||||
|
||||
%endif
|
||||
|
||||
## create U-Boot wrapped images
|
||||
@ -63,6 +73,16 @@ mkdir ${KERNELDIR}
|
||||
%if doupgrade:
|
||||
## install upgrade image
|
||||
installupgradeinitrd images-${basearch} ${kernel.upgrade.path} ${KERNELDIR}/upgrade.img
|
||||
|
||||
runcmd mkimage \
|
||||
-A arm -O linux -T ramdisk -C none \
|
||||
-a 0 -e 0 \
|
||||
-n "${product.name} ${product.version} ${kernel.flavor} ${kernel.arch}" \
|
||||
-d ${outroot}/${KERNELDIR}/upgrade.img \
|
||||
${outroot}/${KERNELDIR}/uUpgrade
|
||||
|
||||
treeinfo images-${basearch} uupgrade ${KERNELDIR}/uUpgrade
|
||||
|
||||
%endif
|
||||
|
||||
## create U-Boot wrapped images
|
||||
|
Loading…
Reference in New Issue
Block a user