pxe-network-installer: fix a typo in pkg_postinst

Fix a typo in pkg_postinst for the package name, or
the post script will never be generated.

Story: 2008204
Task: 40988

Change-Id: I201ae7ebc4fd6541fc91ce3b3c0dcf68e7640f92
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
This commit is contained in:
Jackie Huang 2020-10-22 15:04:57 +08:00
parent d98ee30c53
commit a7a8f336f6

View File

@ -73,7 +73,7 @@ do_install() {
ln -fs pxelinux.cfg/grub.cfg ${D}/pxeboot/grub.cfg ln -fs pxelinux.cfg/grub.cfg ${D}/pxeboot/grub.cfg
} }
pkg_postinst_pxe-network_installer() { pkg_postinst_pxe-network-installer() {
install -m 0644 $D${datadir}/syslinux/menu.c32 $D/pxeboot install -m 0644 $D${datadir}/syslinux/menu.c32 $D/pxeboot
install -m 0644 $D${datadir}/syslinux/vesamenu.c32 $D/pxeboot install -m 0644 $D${datadir}/syslinux/vesamenu.c32 $D/pxeboot
install -m 0644 $D${datadir}/syslinux/chain.c32 $D/pxeboot install -m 0644 $D${datadir}/syslinux/chain.c32 $D/pxeboot