Skip to content

Commit

Permalink
Only serialize native-deb* targets
Browse files Browse the repository at this point in the history
.NOTPARALLEL target is being forced on userspace as well. This commit
removes .NOTPARALEL target and only serializes the execution of
native-deb* targets.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
Closes openzfs#16622
  • Loading branch information
usaleem-ix authored and behlendorf committed Oct 9, 2024
1 parent 0fbe9d3 commit 0df10dc
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions config/deb.am
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,17 @@ debian:
cp -r contrib/debian debian; chmod +x debian/rules;

native-deb-utils: native-deb-local debian
while [ -f debian/deb-build.lock ]; do sleep 1; done; \
echo "native-deb-utils" > debian/deb-build.lock; \
cp contrib/debian/control debian/control; \
$(DPKGBUILD) -b -rfakeroot -us -uc;
$(DPKGBUILD) -b -rfakeroot -us -uc; \
$(RM) -f debian/deb-build.lock

native-deb-kmod: native-deb-local debian
while [ -f debian/deb-build.lock ]; do sleep 1; done; \
echo "native-deb-kmod" > debian/deb-build.lock; \
sh scripts/make_gitrev.sh; \
fakeroot debian/rules override_dh_binary-modules;
fakeroot debian/rules override_dh_binary-modules; \
$(RM) -f debian/deb-build.lock

native-deb: native-deb-utils native-deb-kmod

.NOTPARALLEL: native-deb native-deb-utils native-deb-kmod

0 comments on commit 0df10dc

Please sign in to comment.