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.

Signed-off-by: Umer Saleem <[email protected]>
  • Loading branch information
usaleem-ix committed Oct 8, 2024
1 parent ca0141f commit 75a12ff
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 75a12ff

Please sign in to comment.