Keep LB_ARCHITECTURES environment variable for backwards compatibility
Custom hook scripts may use the variable. And conditional package lists can also rely on this variable.
This commit is contained in:
parent
6cc7250954
commit
047885bf7e
|
@ -47,6 +47,10 @@ New_configuration ()
|
|||
LB_ARCHITECTURE="${LB_ARCHITECTURE:-${CURRENT_IMAGE_ARCHITECTURE}}"
|
||||
export LB_ARCHITECTURE
|
||||
|
||||
# For backwards compat with custom hooks and conditional includes
|
||||
LB_ARCHITECTURES=${LB_ARCHITECTURE}
|
||||
export LB_ARCHITECTURES
|
||||
|
||||
LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-$(Get_configuration config/build Archive-Areas)}"
|
||||
LB_ARCHIVE_AREAS="${LB_ARCHIVE_AREAS:-main}"
|
||||
LB_ARCHIVE_AREAS="$(echo "${LB_ARCHIVE_AREAS}" | tr "," " ")"
|
||||
|
|
Loading…
Reference in New Issue