4e6d90e6a8
The initramfs used by installer ISO image doesn't work for the pxe installer, so we need to add an extra initramfs for pxe installer: core-image-anaconda-initramfs Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
14 lines
511 B
BlitzBasic
14 lines
511 B
BlitzBasic
SUMMARY = "Provides initramfs used for pxe installer"
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
|
|
|
|
do_install[depends] += "core-image-anaconda-initramfs:do_image_complete"
|
|
|
|
do_install() {
|
|
install -d ${D}/boot
|
|
install -m 0644 ${DEPLOY_DIR_IMAGE}/core-image-anaconda-initramfs-${MACHINE}.cpio.gz ${D}/boot/installer-initrd_1.0
|
|
ln -s installer-initrd_1.0 ${D}/boot/installer-initrd
|
|
}
|
|
|
|
FILES_${PN} = "/boot"
|