Skip to content

Commit b04d424

Browse files
authored
Merge pull request #2133 from flatcar/chewi/catalyst-4-fixes
Catalyst 4 upgrade follow up fixes
2 parents 98500cd + 36d0432 commit b04d424

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/portage-stable-packages-list

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ app-arch/lzop
8787
app-arch/ncompress
8888
app-arch/pbzip2
8989
app-arch/pigz
90+
app-arch/pixz
9091
app-arch/rpm2targz
9192
app-arch/sharutils
9293
app-arch/tar
@@ -307,6 +308,7 @@ dev-python/setuptools
307308
dev-python/setuptools-scm
308309
dev-python/six
309310
dev-python/snakeoil
311+
dev-python/tomli
310312
dev-python/trove-classifiers
311313
dev-python/wheel
312314

@@ -575,6 +577,7 @@ sys-fs/mtools
575577
sys-fs/multipath-tools
576578
sys-fs/quota
577579
sys-fs/squashfs-tools
580+
sys-fs/squashfs-tools-ng
578581
sys-fs/udisks
579582
sys-fs/xfsprogs
580583
sys-fs/zfs

build_library/catalyst.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
# Use of this source code is governed by a BSD-style license that can be
44
# found in the LICENSE file.
55

6-
# Before doing anything, ensure we have at least Catalyst 4.
7-
if catalyst --version | grep -q "Catalyst [0-3]\."; then
8-
sudo emerge -v1 ">=dev-util/catalyst-4" || exit 1
9-
fi
10-
116
# common.sh should be sourced first
127
[[ -n "${DEFAULT_BUILD_ROOT}" ]] || exit 1
138
. "${SCRIPTS_DIR}/sdk_lib/sdk_util.sh" || exit 1
@@ -171,6 +166,11 @@ catalyst_init() {
171166
die_notrace "catalyst not found, not installed or bad PATH?"
172167
fi
173168

169+
# Before doing anything else, ensure we have at least Catalyst 4.
170+
if catalyst --version | grep -q "Catalyst [0-3]\."; then
171+
emerge --verbose "--jobs=${NUM_JOBS}" --oneshot ">=dev-util/catalyst-4" || exit 1
172+
fi
173+
174174
DEBUG=()
175175
if [[ ${FLAGS_debug} -eq ${FLAGS_TRUE} ]]; then
176176
DEBUG=("--debug")

0 commit comments

Comments
 (0)