images: Add variable to add extra packages from the local.conf
PATCH 1/1 images: Add variable to add extra packages from the local.conf
The bootstrap, thinlinux and tiny images all had a variable that allowed for adding additional packages to the image from the local.conf file. Add this same concept to the default and base images.
--- meta-arago-distro/recipes-core/images/tisdk-base-image.bb | 3 +++ meta-arago-distro/recipes-core/images/tisdk-default-image.bb | 3 +++ 2 files changed, 6 insertions(+)
meta-arago-distro/recipes-core/images/tisdk-base-image.bb +3 -0
@@ -8,12 +8,15 @@ require arago-image.inc IMAGE_FSTYPES += "cpio.xz" IMAGE_FSTYPES_append_dra7xx = " ubifs ubi" +ARAGO_BASE_IMAGE_EXTRA_INSTALL ?= "" + IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \ packagegroup-arago-base-tisdk \ ${VIRTUAL-RUNTIME_initramfs} \ ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', 'ti-test', '', d)} \ + ${ARAGO_BASE_IMAGE_EXTRA_INSTALL} \ " export IMAGE_BASENAME = "tisdk-base-image"
meta-arago-distro/recipes-core/images/tisdk-default-image.bb +3 -0
@@ -7,6 +7,8 @@ require arago-image.inc SPLASH = "${@bb.utils.contains('MACHINE_FEATURES','gpu','psplash','',d)}" +ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL ?= "" + IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \
@@ -27,6 +29,7 @@ IMAGE_INSTALL += "\ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)} \ ti-analytics \ ti-demos \ + ${ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL} \ " export IMAGE_BASENAME = "tisdk-default-image"
Signature · 1 line
2.17.1
Quoted 3 lines · Ryan Eatmon via lists.yoctoproject.org
The bootstrap, thinlinux and tiny images all had a variable that allowed for adding additional packages to the image from the local.conf file. Add this same concept to the default and base images.
Missing Suggested-by? :) But sure, looks good to me!
Why is it dunfell specific?
Quoted 49 lines
Signed-off-by Ryan Eatmon <[email protected]>--- meta-arago-distro/recipes-core/images/tisdk-base-image.bb | 3 +++ meta-arago-distro/recipes-core/images/tisdk-default-image.bb | 3 +++ 2 files changed, 6 insertions(+)meta-arago-distro/recipes-core/images/tisdk-base-image.bb +3
-0@@ -8,12 +8,15 @@ require arago-image.inc IMAGE_FSTYPES += "cpio.xz" IMAGE_FSTYPES_append_dra7xx = " ubifs ubi" +ARAGO_BASE_IMAGE_EXTRA_INSTALL ?= "" + IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \ packagegroup-arago-base-tisdk \ ${VIRTUAL-RUNTIME_initramfs} \ ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', 'ti-test', '', d)} \ + ${ARAGO_BASE_IMAGE_EXTRA_INSTALL} \ " export IMAGE_BASENAME = "tisdk-base-image"meta-arago-distro/recipes-core/images/tisdk-default-image.bb +3
-0@@ -7,6 +7,8 @@ require arago-image.inc SPLASH = "${@bb.utils.contains('MACHINE_FEATURES','gpu','psplash','',d)}" +ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL ?= "" + IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \@@ -27,6 +29,7 @@ IMAGE_INSTALL += "\ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)} \ ti-analytics \ ti-demos \ + ${ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL} \ " export IMAGE_BASENAME = "tisdk-default-image"Signature · 1 line
2.17.1
Quoted 9 lines · Denys Dmytriyenko
Quoted 3 lines · Ryan Eatmon via lists.yoctoproject.org
The bootstrap, thinlinux and tiny images all had a variable that allowed for adding additional packages to the image from the local.conf file. Add this same concept to the default and base images.
Missing Suggested-by? :) But sure, looks good to me!
Why is it dunfell specific?
Because the patch did not apply to kirkstone/master, so I sent a second patch with the updated patch.
Quoted 49 lines
Quoted 49 lines
Signed-off-by Ryan Eatmon <[email protected]>--- meta-arago-distro/recipes-core/images/tisdk-base-image.bb | 3 +++ meta-arago-distro/recipes-core/images/tisdk-default-image.bb | 3 +++ 2 files changed, 6 insertions(+)meta-arago-distro/recipes-core/images/tisdk-base-image.bb +3
-0@@ -8,12 +8,15 @@ require arago-image.inc IMAGE_FSTYPES += "cpio.xz" IMAGE_FSTYPES_append_dra7xx = " ubifs ubi" +ARAGO_BASE_IMAGE_EXTRA_INSTALL ?= "" + IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \ packagegroup-arago-base-tisdk \ ${VIRTUAL-RUNTIME_initramfs} \ ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', 'ti-test', '', d)} \ + ${ARAGO_BASE_IMAGE_EXTRA_INSTALL} \ " export IMAGE_BASENAME = "tisdk-base-image"meta-arago-distro/recipes-core/images/tisdk-default-image.bb +3
-0@@ -7,6 +7,8 @@ require arago-image.inc SPLASH = "${@bb.utils.contains('MACHINE_FEATURES','gpu','psplash','',d)}" +ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL ?= "" + IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \@@ -27,6 +29,7 @@ IMAGE_INSTALL += "\ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)} \ ti-analytics \ ti-demos \ + ${ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL} \ " export IMAGE_BASENAME = "tisdk-default-image"Signature · 1 line
2.17.1
Signature · 3 lines
Ryan Eatmon [email protected] ----------------------------------------- Texas Instruments, Inc. - LCPD - MGTS
Quoted 8 lines · Ryan Eatmon
Quoted 5 lines · Denys Dmytriyenko
Quoted 3 lines · Ryan Eatmon via lists.yoctoproject.org
The bootstrap, thinlinux and tiny images all had a variable that allowed for adding additional packages to the image from the local.conf file. Add this same concept to the default and base images.
Quoted 7 lines
Quoted 4 lines
Missing Suggested-by? :) But sure, looks good to me!
Why is it dunfell specific?
Because the patch did not apply to kirkstone/master, so I sent a second patch with the updated patch.
Yeah, I saw that later - I guess I commented too fast...
Quoted 44 lines
Quoted 44 lines
Quoted 44 lines
Signed-off-by Ryan Eatmon <[email protected]>--- meta-arago-distro/recipes-core/images/tisdk-base-image.bb | 3 +++ meta-arago-distro/recipes-core/images/tisdk-default-image.bb | 3 +++ 2 files changed, 6 insertions(+)meta-arago-distro/recipes-core/images/tisdk-base-image.bb +3
-0@@ -8,12 +8,15 @@ require arago-image.inc IMAGE_FSTYPES += "cpio.xz" IMAGE_FSTYPES_append_dra7xx = " ubifs ubi" +ARAGO_BASE_IMAGE_EXTRA_INSTALL ?= "" + IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \ packagegroup-arago-base-tisdk \ ${VIRTUAL-RUNTIME_initramfs} \ ${@oe.utils.conditional('ARAGO_BRAND', 'mainline', 'ti-test', '', d)} \ + ${ARAGO_BASE_IMAGE_EXTRA_INSTALL} \ " export IMAGE_BASENAME = "tisdk-base-image"meta-arago-distro/recipes-core/images/tisdk-default-image.bb +3
-0@@ -7,6 +7,8 @@ require arago-image.inc SPLASH = "${@bb.utils.contains('MACHINE_FEATURES','gpu','psplash','',d)}" +ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL ?= "" + IMAGE_INSTALL += "\ packagegroup-arago-base \ packagegroup-arago-console \@@ -27,6 +29,7 @@ IMAGE_INSTALL += "\ ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-hmi','packagegroup-arago-base-tisdk-server-extra',d)} \ ti-analytics \ ti-demos \ + ${ARAGO_DEFAULT_IMAGE_EXTRA_INSTALL} \ " export IMAGE_BASENAME = "tisdk-default-image"Signature · 1 line
2.17.1