diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 16:18:38 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 16:18:38 +0000 |
commit | 54c9e936a25b68a9fbb1be8bd1f60789870dea65 (patch) | |
tree | 750c6db537c46a770d260e749f4fa2444a98c750 /meta/packages/syslinux | |
parent | fe89792652db5097f15e54f41cdaf50ebc593179 (diff) | |
download | openembedded-core-54c9e936a25b68a9fbb1be8bd1f60789870dea65.tar.gz openembedded-core-54c9e936a25b68a9fbb1be8bd1f60789870dea65.tar.bz2 openembedded-core-54c9e936a25b68a9fbb1be8bd1f60789870dea65.zip |
syslinux/syslinux-installer-native: Convert to stage with do_install
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/syslinux')
-rw-r--r-- | meta/packages/syslinux/syslinux-installer-native_3.36.bb | 9 | ||||
-rw-r--r-- | meta/packages/syslinux/syslinux_3.36.bb | 10 |
2 files changed, 10 insertions, 9 deletions
diff --git a/meta/packages/syslinux/syslinux-installer-native_3.36.bb b/meta/packages/syslinux/syslinux-installer-native_3.36.bb index cc61693be0..c304a2d293 100644 --- a/meta/packages/syslinux/syslinux-installer-native_3.36.bb +++ b/meta/packages/syslinux/syslinux-installer-native_3.36.bb @@ -16,11 +16,12 @@ do_compile() { oe_runmake installer } -do_stage() { +NATIVE_INSTALL_WORKS = "1" +do_install() { install -d ${STAGE_TEMP} oe_runmake install INSTALLROOT="${STAGE_TEMP}" - install -d ${STAGING_BINDIR} - install -m 755 ${STAGE_TEMP}/usr/bin/syslinux ${STAGING_BINDIR} - install -m 755 ${STAGE_TEMP}/sbin/extlinux ${STAGING_BINDIR} + install -d ${D}${bindir}/ + install -m 755 ${STAGE_TEMP}/usr/bin/syslinux ${D}${bindir}/ + install -m 755 ${STAGE_TEMP}/sbin/extlinux ${D}${bindir}/ } diff --git a/meta/packages/syslinux/syslinux_3.36.bb b/meta/packages/syslinux/syslinux_3.36.bb index bbfbdbf1b0..8db2055dc9 100644 --- a/meta/packages/syslinux/syslinux_3.36.bb +++ b/meta/packages/syslinux/syslinux_3.36.bb @@ -18,7 +18,7 @@ STAGE_TEMP = "${WORKDIR}/stage_temp" COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux|freebsd.*)' -do_stage() { +do_install() { install -d ${STAGE_TEMP} oe_runmake install INSTALLROOT="${STAGE_TEMP}" @@ -26,8 +26,8 @@ do_stage() { # as the DOS data files, so we copy those into a special location # for usage during a image build stage - install -d ${STAGING_DATADIR}/syslinux - install -m 0644 ${STAGE_TEMP}/usr/lib/syslinux/isolinux.bin ${STAGING_DATADIR}/syslinux/isolinux.bin - install -m 644 ${S}/ldlinux.sys ${STAGING_DATADIR}/syslinux/ldlinux.sys - install -m 644 ${S}/ldlinux.bss ${STAGING_DATADIR}/syslinux/ldlinux.bss + install -d ${D}${datadir}/syslinux/ + install -m 0644 ${STAGE_TEMP}/usr/lib/syslinux/isolinux.bin ${D}${datadir}/syslinux/isolinux.bin + install -m 644 ${S}/ldlinux.sys ${D}${datadir}/syslinux/ldlinux.sys + install -m 644 ${S}/ldlinux.bss ${D}${datadir}/syslinux/ldlinux.bss } |