[meta-virtualization] RFC : [PATCH] xen: remove xen-bootimg.inc

christopher.w.clark at gmail.com christopher.w.clark at gmail.com
Thu Aug 24 11:46:14 PDT 2017


From: Christopher Clark <christopher.w.clark at gmail.com>

This inc file has not been used within meta-virtualization since:
    Date:   Tue Sep 10 21:02:41 2013 -0400
    commit 214c4715f0ed53ba9c499932b0b6ee3f602ff89f

and has needed updating since the changes in:
    Date:   Wed Feb 24 01:23:58 2016 -0800
    git://git.openembedded.org/openembedded-core
    commit e38c94d6bf83ed3ca7f046d9503e81b927487bf2

Signed-off-by: Christopher Clark <christopher.w.clark at gmail.com>
---

This inc file either needs updating to change SYSLINUXCFG to SYSLINUX_CFG
or alternatively it could be removed. Since it is no longer used within
meta-virtualization, and I cannot find a reference to it elsewhere via
web search engine, it requires further work to test any change to this file.
This patch just removes it.


 recipes-extended/images/xen-bootimg.inc | 35 ---------------------------------
 1 file changed, 35 deletions(-)
 delete mode 100644 recipes-extended/images/xen-bootimg.inc

diff --git a/recipes-extended/images/xen-bootimg.inc b/recipes-extended/images/xen-bootimg.inc
deleted file mode 100644
index 093aa68..0000000
--- a/recipes-extended/images/xen-bootimg.inc
+++ /dev/null
@@ -1,35 +0,0 @@
-SYSLINUX_TIMEOUT = "10"
-SYSLINUX_LABEL = "boot"
-SYSLINUX_XEN_APPEND = "dom0_mem=1048576"
-SYSLINUX_KERNEL_APPEND = "ramdisk_size=32768 root=/dev/ram0 rw console=tty0 console=ttyS0,115200n8"
-#LABELS_append = " ${SYSLINUX_LABEL} "
-
-INITRD = "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.cpio.lzma"
-
-do_bootimg[depends] += "${IMAGE_BASENAME}:do_rootfs"
-
-inherit bootimg
-
-syslinux_populate_append() {
-	install -m 0444 ${STAGING_LIBDIR}/syslinux/mboot.c32 ${HDDDIR}${SYSLINUXDIR}/mboot.c32
-}
-
-grubefi_populate_append() {
-	install -m 0644 ${DEPLOY_DIR_IMAGE}/xen-${MACHINE}.gz ${DEST}${EFIDIR}/xen.gz
-}
-
-populate_append() {
-	install -m 0644 ${DEPLOY_DIR_IMAGE}/xen-${MACHINE}.gz ${DEST}/xen.gz
-}
-
-build_syslinux_cfg() {
-	echo ALLOWOPTIONS 1 > ${SYSLINUXCFG}
-	echo SERIAL 0 115200 > ${SYSLINUXCFG}
-	echo DEFAULT ${SYSLINUX_LABEL} >> ${SYSLINUXCFG}
-	echo TIMEOUT ${SYSLINUX_TIMEOUT} >> ${SYSLINUXCFG}
-	echo PROMPT 1 >> ${SYSLINUXCFG}
-	echo LABEL ${SYSLINUX_LABEL} >> ${SYSLINUXCFG}
-	echo KERNEL mboot.c32 >> ${SYSLINUXCFG}
-	echo APPEND xen.gz ${SYSLINUX_XEN_APPEND} --- vmlinuz ${SYSLINUX_KERNEL_APPEND} --- initrd >> ${SYSLINUXCFG}
-}
-
-- 
2.7.4



More information about the meta-virtualization mailing list