recipes-extended/images/xen-image-minimal.bb: change, hardcoded vmlinuz to the KERNEL_IMAGETYPE variable
Why is vmlinuz hard-coded in the syslinux.cfg? Could it be replaced by the KERNEL_IMAGETYPE?
From 450becb15192a3541b7a3d55ace75a1929d15add Mon Sep 17 00:00:00 2001
From: Asiderr <[email protected]>
Date: Thu, 31 Oct 2019 17:50:53 +0100
Subject: [PATCH] recipes-extended/images/xen-image-minimal.bb: change hardcoded vmlinuz to the variable
---
recipes-extended/images/xen-image-minimal.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/images/xen-image-minimal.bb +0 -0
@@ -61,6 +61,6 @@ build_syslinux_cfg () {
echo "PROMPT 1" >> ${SYSLINUX_CFG}
echo "LABEL boot" >> ${SYSLINUX_CFG}
echo " KERNEL mboot.c32" >> ${SYSLINUX_CFG}
- echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /vmlinuz ${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUX_CFG} + echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /${KERNEL_IMAGETYPE} ${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUX_CFG} }
Signature · 1 line
2.17.1
Quoted 4 lines · Norbert Kaminski
Why is vmlinuz hard-coded in the syslinux.cfg? Could it be replaced by the
KERNEL_IMAGETYPE?
I'm guessing it just hasn't been something that others have wanted to configure.
The patch looks ok to me. I assume those that are currently relying on /vmlinuz will have that already as their kernel build type (since it is being built).
I'll wait a few days to see if anyone objects.
Bruce
Quoted 34 lines
From
450becb15192a3541b7a3d55ace75a1929d15addMon Sep 17 00:00:00 2001
From: Asiderr <[email protected]>
Date: Thu, 31 Oct 2019 17:50:53 +0100
Subject: [PATCH] recipes-extended/images/xen-image-minimal.bb: change hardcoded vmlinuz to the variableSigned-off-by Norbert Kaminski <[email protected]>--- recipes-extended/images/xen-image-minimal.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-extended/images/xen-image-minimal.bb +1
-1@@ -61,6 +61,6 @@ build_syslinux_cfg () { echo "PROMPT 1" >> ${SYSLINUX_CFG} echo "LABEL boot" >> ${SYSLINUX_CFG} echo " KERNEL mboot.c32" >> ${SYSLINUX_CFG} - echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /vmlinuz ${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUX_CFG} + echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /${KERNEL_IMAGETYPE} ${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUX_CFG}}--
2.17.1--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Quoted 5 lines · Bruce Ashfield
Quoted 3 lines · Norbert Kaminski
Why is vmlinuz hard-coded in the syslinux.cfg? Could it be replaced by the
KERNEL_IMAGETYPE?
Quoted 7 lines
I'm guessing it just hasn't been something that others have wanted to configure.
The patch looks ok to me. I assume those that are currently relying on /vmlinuz will have that already as their kernel build type (since it is being built).
I'll wait a few days to see if anyone objects.
So far, there have been no objections, thus I think it could be merged.
Norbert
Quoted 39 lines
Bruce
Quoted 34 lines
From
450becb15192a3541b7a3d55ace75a1929d15addMon Sep 17 00:00:00 2001
From: Asiderr <[email protected]>
Date: Thu, 31 Oct 2019 17:50:53 +0100
Subject: [PATCH] recipes-extended/images/xen-image-minimal.bb: change hardcoded vmlinuz to the variableSigned-off-by Norbert Kaminski <[email protected]>--- recipes-extended/images/xen-image-minimal.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-extended/images/xen-image-minimal.bb +1
-1@@ -61,6 +61,6 @@ build_syslinux_cfg () { echo "PROMPT 1" >> ${SYSLINUX_CFG} echo "LABEL boot" >> ${SYSLINUX_CFG} echo " KERNEL mboot.c32" >> ${SYSLINUX_CFG} - echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /vmlinuz ${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUX_CFG} + echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /${KERNEL_IMAGETYPE} ${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUX_CFG}}--
2.17.1--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Quoted 10 lines · Norbert Kaminski
Quoted 7 lines · Bruce Ashfield
Quoted 3 lines · Norbert Kaminski
Why is vmlinuz hard-coded in the syslinux.cfg? Could it be replaced by the
KERNEL_IMAGETYPE?I'm guessing it just hasn't been something that others have wanted to configure.
Quoted 7 lines
Quoted 5 lines
The patch looks ok to me. I assume those that are currently relying on /vmlinuz will have that already as their kernel build type (since it is being built).
I'll wait a few days to see if anyone objects.
So far, there have been no objections, thus I think it could be merged.
I've sent a few specific requests out for comment, I'm still waiting to hear back.
Bruce
Quoted 42 lines
Norbert
Quoted 39 lines
Bruce
Quoted 34 lines
From
450becb15192a3541b7a3d55ace75a1929d15addMon Sep 17 00:00:00 2001
From: Asiderr <[email protected]>
Date: Thu, 31 Oct 2019 17:50:53 +0100
Subject: [PATCH] recipes-extended/images/xen-image-minimal.bb: change hardcoded vmlinuz to the variableSigned-off-by Norbert Kaminski <[email protected]>--- recipes-extended/images/xen-image-minimal.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-extended/images/xen-image-minimal.bb +1
-1@@ -61,6 +61,6 @@ build_syslinux_cfg () { echo "PROMPT 1" >> ${SYSLINUX_CFG} echo "LABEL boot" >> ${SYSLINUX_CFG} echo " KERNEL mboot.c32" >> ${SYSLINUX_CFG} - echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /vmlinuz ${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUX_CFG} + echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /${KERNEL_IMAGETYPE} ${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUX_CFG}}--
2.17.1--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
Quoted 17 lines · Bruce Ashfield
Quoted 14 lines · Norbert Kaminski
Quoted 11 lines · Bruce Ashfield
Quoted 3 lines · Norbert Kaminski
Why is vmlinuz hard-coded in the syslinux.cfg? Could it be replaced by the
KERNEL_IMAGETYPE?I'm guessing it just hasn't been something that others have wanted to configure.
The patch looks ok to me. I assume those that are currently relying on /vmlinuz will have that already as their kernel build type (since it is being built).
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
I'll wait a few days to see if anyone objects.
So far, there have been no objections, thus I think it could be merged.
I've sent a few specific requests out for comment, I'm still waiting to hear back.
It looks like openembedded-core uses 'vmlinuz' for the kernel string in both these classes:
meta/classes/syslinux.class
meta/classes/grub-efi.class
so would the same change be appropriate there? I agree that it doesn't seem quite right to be hardcoding it to vmlinuz and it could be useful to get feedback from oe-core on the change.
Christopher
Quoted 57 lines
Bruce
Quoted 42 lines
Norbert
Quoted 39 lines
Bruce
Quoted 34 lines
From
450becb15192a3541b7a3d55ace75a1929d15addMon Sep 17 00:00:00 2001
From: Asiderr <[email protected]>
Date: Thu, 31 Oct 2019 17:50:53 +0100
Subject: [PATCH] recipes-extended/images/xen-image-minimal.bb: change hardcoded vmlinuz to the variableSigned-off-by Norbert Kaminski <[email protected]>--- recipes-extended/images/xen-image-minimal.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-extended/images/xen-image-minimal.bb +1
-1@@ -61,6 +61,6 @@ build_syslinux_cfg () { echo "PROMPT 1" >> ${SYSLINUX_CFG} echo "LABEL boot" >> ${SYSLINUX_CFG} echo " KERNEL mboot.c32" >> ${SYSLINUX_CFG} - echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /vmlinuz ${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUX_CFG} + echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /${KERNEL_IMAGETYPE} ${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUX_CFG}}--
2.17.1--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
--
_______________________________________________
meta-virtualization mailing list [email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization