sota: added sota capabilities to the netmodule-image.
BugzID: 53676
This commit is contained in:
parent
cbc84a332e
commit
cf1ba60925
|
|
@ -107,3 +107,22 @@ IMAGE_INSTALL_append_armada-385-nbhw17 = " ${FPGA_INSTALL}"
|
|||
|
||||
LICENSE = "BSD"
|
||||
|
||||
KERNEL_IMAGETYPE_sota = "fitImage"
|
||||
UBOOT_ENTRYPOINT_sota ?= "0x80008000"
|
||||
|
||||
IMAGE_ROOTFS_SIZE = "2097152"
|
||||
OSTREE_BOOTLOADER = "u-boot"
|
||||
# OSTREE_BOOTLOADER ?= "u-boot"
|
||||
|
||||
IMAGE_PREPROCESS_COMMAND_sota += " moveRPMDatabase;"
|
||||
|
||||
IMAGE_BOOT_FILES = "MLO u-boot.img"
|
||||
# Change the location of /var/lib/rpm to /usr/lib/rpm.
|
||||
# This makes the rpm package index consistent with installed packages.
|
||||
# The softlink ln usr/lib/rpm var/lib/rpm -s however isn't created in the .otaimg and has to be created after the installation.
|
||||
moveRPMDatabase() {
|
||||
cd ${WORKDIR}/rootfs
|
||||
mv var/lib/rpm/* usr/lib/rpm
|
||||
rm -r var/lib/rpm
|
||||
ln usr/lib/rpm var/lib/rpm -s
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue