Skip to content

Commit

Permalink
build_library: Place EXTRA_SYSEXTS in a separate file
Browse files Browse the repository at this point in the history
This allows it to be sourced from other scripts and used e.g. in
generating an image changes summary.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
  • Loading branch information
jepio committed Mar 11, 2024
1 parent 53e1649 commit 7929434
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions build_image
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ fi
. "${BUILD_LIBRARY_DIR}/dev_container_util.sh" || exit 1
. "${BUILD_LIBRARY_DIR}/test_image_content.sh" || exit 1
. "${BUILD_LIBRARY_DIR}/vm_image_util.sh" || exit 1
. "${BUILD_LIBRARY_DIR}/extra_sysexts.sh" || exit 1

PROD_IMAGE=0
PROD_TAR=0
Expand Down
3 changes: 3 additions & 0 deletions build_library/extra_sysexts.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
EXTRA_SYSEXTS=(
zfs:sys-fs/zfs
)
4 changes: 0 additions & 4 deletions build_library/prod_image_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,6 @@ create_prod_tar() {
upload_image "${container}"
}

EXTRA_SYSEXTS=(
zfs:sys-fs/zfs
)

create_prod_sysexts() {
local image_name="$1"
local image_sysext_base="${image_name%.bin}_sysext.squashfs"
Expand Down

0 comments on commit 7929434

Please sign in to comment.