Skip to content

Commit

Permalink
build.preloader: kernel packet is no longer built multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
mkreisl committed Feb 19, 2024
1 parent 1d9c784 commit 5eeb3a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.preloader
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ while read B REPOX ARCHX; do
rm -f ${DEST_DEB}/*.deb
echo "Running on $(pwd) \$xbiangit --arch $B (config_os_version=$config_os_version)"
$xbiangit --arch $B || exit $?
grep -q "config_build_env=schroot" "build/$B/config" || BUILD_ONCE='yes'
if ! grep -q "config_build_env=schroot" "build/$B/config" || grep -q "config_build_targets=.*Image.*modules" build/$B/config*; then
BUILD_ONCE='yes'
echo "+++++ BUILD_ONCE +++++"
fi
fi

elif [ -e gen.package.sh ]; then
Expand Down

0 comments on commit 5eeb3a5

Please sign in to comment.