Skip to content

Commit

Permalink
🔧 build: default to always using --unified-core
Browse files Browse the repository at this point in the history
f38 (Sodalite 5) segfaults without this option now, so we'll default to it
  • Loading branch information
electricduck committed Jun 5, 2023
1 parent 9d5774c commit 4dade7b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ _PLUGIN_OPTIONS=(
"serve-port;;\tPort to serve on when using --serve (default: 8080);int"
"skip-cleanup;;Skip cleaning up on exit"
"skip-tests;;\tSkip executing tests"
"unified-core;;Use --unified-core option with rpm-ostree"
"vendor;;\tVendor to use in CPE (default: \$USER);string"
"ex-container-args;;"
"ex-container-hostname;;"
"ex-container-image;;"
"ex-git-version-branch;;"
"ex-log;;"
"ex-no-unified-core;;Do not use --unified-core option with rpm-ostree"
"ex-ntfy;;"
"ex-ntfy-endpoint;;"
"ex-ntfy-password;;"
Expand Down Expand Up @@ -231,10 +231,10 @@ function build_sodalite() {
treefile="$(get_treefile)"
fi

if [[ $unified_core == "true" ]]; then
unified="true"
else
if [[ $ex_no_unified_core == "true" ]]; then
unified="false"
else
unified="true"
fi

buildinfo_file="$src_dir/src/sysroot/common/usr/lib/sodalite-buildinfo"
Expand Down

0 comments on commit 4dade7b

Please sign in to comment.