Skip to content

Commit cfec887

Browse files
committed
Merge branch 'master' into deploy
2 parents 0d2c056 + ec626b5 commit cfec887

2 files changed

Lines changed: 14 additions & 10 deletions

File tree

build/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ifeq ($(or ${x86},${isa_3}),)
1010
export UBUNTU_LATEST := 21.10
1111
UBUNTU_DISTROS := ubuntu@${UBUNTU_LATEST}
1212
else
13-
export UBUNTU_LATEST := 22.10
14-
UBUNTU_DISTROS := ubuntu@${UBUNTU_LATEST} ubuntu@22.04
13+
export UBUNTU_LATEST := 23.04
14+
UBUNTU_DISTROS := ubuntu@${UBUNTU_LATEST} ubuntu@22.10 ubuntu@22.04
1515
endif
1616

1717
UBUNTU_DISTROS += ubuntu@20.04 ubuntu@18.04 ubuntu@16.04 ubuntu

build/scripts/container-build.sh

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,16 +113,20 @@ if [[ "$1" == "kernel" ]]; then
113113
fi
114114

115115
if [[ $rc -eq 0 && -n "$MODULES" ]]; then
116-
echo "## Installing modules"
116+
if grep CONFIG_MODULES=y /output/.config > /dev/null; then
117+
echo "## Installing modules"
117118

118-
mod_path=/output/modules
119-
# Clean out any old modules
120-
rm -rf $mod_path
119+
mod_path=/output/modules
120+
# Clean out any old modules
121+
rm -rf $mod_path
121122

122-
(set -x; make $verbose $quiet -j $JFACTOR "$cc" INSTALL_MOD_PATH=$mod_path modules_install)
123-
rc=$?
124-
if [[ $rc -eq 0 ]]; then
125-
tar -cjf /output/modules.tar.bz2 -C $mod_path lib
123+
(set -x; make $verbose $quiet -j $JFACTOR "$cc" INSTALL_MOD_PATH=$mod_path modules_install)
124+
rc=$?
125+
if [[ $rc -eq 0 ]]; then
126+
tar -cjf /output/modules.tar.bz2 -C $mod_path lib
127+
fi
128+
else
129+
echo "## Modules not configured"
126130
fi
127131
fi
128132

0 commit comments

Comments
 (0)