pxe-installer-initramfs: add new recipe and add into image
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>
This commit is contained in:
parent
eb65f48fea
commit
4e6d90e6a8
@ -24,6 +24,7 @@ IMAGE_INSTALL = "\
|
||||
ldd \
|
||||
rng-tools \
|
||||
gptfdisk \
|
||||
pxe-installer-initramfs \
|
||||
"
|
||||
|
||||
IMAGE_LINGUAS = "en-us en-gb"
|
||||
|
@ -0,0 +1,13 @@
|
||||
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"
|
Loading…
Reference in New Issue
Block a user