RFC : [PATCH] xen: remove xen-bootimg.inc
From: Christopher Clark <[email protected]>
This inc file has not been used within meta-virtualization since:
Date: Tue Sep 10 21:02:41 2013 -0400
commit 214c4715f0ed53ba9c499932b0b6ee3f602ff89fand has needed updating since the changes in:
Date: Wed Feb 24 01:23:58 2016 -0800
git://git.openembedded.org/openembedded-core
commit e38c94d6bf83ed3ca7f046d9503e81b927487bf2---
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
recipes-extended/images/xen-bootimg.inc deleted +0 -35
@@ -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} -} -
Signature · 1 line
2.7.4
Quoted 12 lines · On Thu, Aug 24, 2017 at 2:46 PM, <[email protected]> wrote:
From: Christopher Clark <[email protected]>
This inc file has not been used within meta-virtualization since:
Date: Tue Sep 10 21:02:41 2013 -0400 commit 214c4715f0ed53ba9c499932b0b6ee3f602ff89fand has needed updating since the changes in:
Date: Wed Feb 24 01:23:58 2016 -0800 git://git.openembedded.org/openembedded-core commit e38c94d6bf83ed3ca7f046d9503e81b927487bf2Signed-off-by Christopher Clark <[email protected]>
Quoted 10 lines
---
This inc file either needs updating to change SYSLINUXCFG to
SYSLINUX_CFGor 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.
No objections from me.
I'll let this sit for a day or two and see if we get any objections .. ACKs would be great as well.
Bruce
Quoted 62 lines
recipes-extended/images/xen-bootimg.inc | 35 --------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 recipes-extended/images/xen-bootimg.increcipes-extended/images/xen-bootimg.inc deleted +0
-4@@ -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 rwconsole=tty0 console=ttyS0,115200n8"
recipes-extended/images/xen-bootimg.inc deleted +0
-10-#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
recipes-extended/images/xen-bootimg.inc deleted +0
-4-} - -grubefi_populate_append() { - install -m 0644 ${DEPLOY_DIR_IMAGE}/xen-${MACHINE}.gz${DEST}${EFIDIR}/xen.gz
recipes-extended/images/xen-bootimg.inc deleted +0
-4-} - -populate_append() { - install -m 0644 ${DEPLOY_DIR_IMAGE}/xen-${MACHINE}.gz${DEST}/xen.gz
recipes-extended/images/xen-bootimg.inc deleted +0
-11-} - -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}
recipes-extended/images/xen-bootimg.inc deleted +0
-3-} - --2.7.4
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
I didn't get any objections, so this is now merged.
Bruce
Quoted 83 lines · On Thu, Aug 24, 2017 at 2:46 PM, <[email protected]> wrote:
From: Christopher Clark <[email protected]>
This inc file has not been used within meta-virtualization since:
Date: Tue Sep 10 21:02:41 2013 -0400 commit 214c4715f0ed53ba9c499932b0b6ee3f602ff89fand has needed updating since the changes in:
Date: Wed Feb 24 01:23:58 2016 -0800 git://git.openembedded.org/openembedded-core commit e38c94d6bf83ed3ca7f046d9503e81b927487bf2Signed-off-by Christopher Clark <[email protected]>---
This inc file either needs updating to change SYSLINUXCFG to
SYSLINUX_CFGor 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.increcipes-extended/images/xen-bootimg.inc deleted +0
-4@@ -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 rwconsole=tty0 console=ttyS0,115200n8"
recipes-extended/images/xen-bootimg.inc deleted +0
-10-#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
recipes-extended/images/xen-bootimg.inc deleted +0
-4-} - -grubefi_populate_append() { - install -m 0644 ${DEPLOY_DIR_IMAGE}/xen-${MACHINE}.gz${DEST}${EFIDIR}/xen.gz
recipes-extended/images/xen-bootimg.inc deleted +0
-4-} - -populate_append() { - install -m 0644 ${DEPLOY_DIR_IMAGE}/xen-${MACHINE}.gz${DEST}/xen.gz
recipes-extended/images/xen-bootimg.inc deleted +0
-11-} - -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}
recipes-extended/images/xen-bootimg.inc deleted +0
-3-} - --2.7.4
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"