Skip to contentSkip to conversation

openstack-image-aio: fix warning of operator remove combined with +=

PATCH In review kai 2 participants 2 messages Nov 19, 2021

lore
Share & tools
lore

kai

author
#0 lore raw

PATCH 1/1 openstack-image-aio: fix warning of operator remove combined with +=

From: Kai Kang <[email protected]>

Fix warning of openstack-image-aio:

| WARNING: /path/to/meta-openstack/recipes-extended/images/openstack-image-aio.bb:
|   IMAGE_ROOTFS_EXTRA_SPACE:append += is not a recommended operator combination,
|   please replace it.
---
 meta-openstack/recipes-extended/images/openstack-image-aio.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-extended/images/openstack-image-aio.bb +1 -1
index 858c8e99..f01d0ed5 100644
@@ -27,7 +27,7 @@ inherit identity
 inherit monitor
 
 # check for 5G of free space, so we use 5G as a starting point.
-IMAGE_ROOTFS_EXTRA_SPACE:append += "+ 5000000"
+IMAGE_ROOTFS_EXTRA_SPACE += "+ 5000000"
 
 POST_KEYSTONE_SETUP_COMMAND = "/etc/keystone/hybrid-backend-setup"
 
Signature · 1 line
2.17.1
#1 lore raw

merged.

Bruce

Quoted 33 lines · kai

From: Kai Kang <[email protected]>

Fix warning of openstack-image-aio:

| WARNING: /path/to/meta-openstack/recipes-extended/images/openstack-image-aio.bb:
|   IMAGE_ROOTFS_EXTRA_SPACE:append += is not a recommended operator combination,
|   please replace it.
---
 meta-openstack/recipes-extended/images/openstack-image-aio.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-extended/images/openstack-image-aio.bb +1 -2
index 858c8e99..f01d0ed5 100644
@@ -27,7 +27,7 @@ inherit identity
 inherit monitor
 
 # check for 5G of free space, so we use 5G as a starting point.
-IMAGE_ROOTFS_EXTRA_SPACE:append += "+ 5000000"
+IMAGE_ROOTFS_EXTRA_SPACE += "+ 5000000"
 
 POST_KEYSTONE_SETUP_COMMAND = "/etc/keystone/hybrid-backend-setup"
 
--

2.17.1

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