From 9acbc591e1aa51c0bedbcfe5b46e17b71c5b921e Mon Sep 17 00:00:00 2001 From: lguohan Date: Mon, 18 Jan 2021 13:10:27 -0800 Subject: [PATCH] [mellanox]: fix mellanox hw-management build (#6471) use dpkg-buildpackage build with fakeroot Signed-off-by: Guohan Lu --- platform/mellanox/hw-management/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/mellanox/hw-management/Makefile b/platform/mellanox/hw-management/Makefile index 608c94e6b0..eb087b47bf 100644 --- a/platform/mellanox/hw-management/Makefile +++ b/platform/mellanox/hw-management/Makefile @@ -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)/