Skip to content

Commit

Permalink
[mellanox]: fix mellanox hw-management build (#6471)
Browse files Browse the repository at this point in the history
use dpkg-buildpackage build with fakeroot

Signed-off-by: Guohan Lu <[email protected]>
  • Loading branch information
lguohan committed Jan 19, 2021
1 parent 17148d7 commit 9acbc59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/mellanox/hw-management/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
pushd hw-mgmt
git am ../*.patch
chmod +x ./debian/rules
sudo ./debian/rules binary KVERSION=$(KVERSION)
KVERSION=$(KVERSION) dpkg-buildpackage -us -uc -b -rfakeroot -j$(SONIC_CONFIG_MAKE_JOBS) --admindir $(SONIC_DPKG_ADMINDIR)
popd

mv $* $(DEST)/

0 comments on commit 9acbc59

Please sign in to comment.