[mellanox]: fix mellanox hw-management build (#6471)
use dpkg-buildpackage build with fakeroot Signed-off-by: Guohan Lu <lguohan@gmail.com>
This commit is contained in:
parent
9b2bc880de
commit
755c73797c
@ -8,7 +8,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
|||||||
pushd hw-mgmt
|
pushd hw-mgmt
|
||||||
git am ../*.patch
|
git am ../*.patch
|
||||||
chmod +x ./debian/rules
|
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
|
popd
|
||||||
|
|
||||||
mv $* $(DEST)/
|
mv $* $(DEST)/
|
||||||
|
Loading…
Reference in New Issue
Block a user