build: set nofile limit to 65535 when building deb packages
fakeroot hangs when nofile limit is high: https://bugs.debian.org/920913 Related-To: NEO-7310 Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
parent
d6c9269dfe
commit
6b34c429b4
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (C) 2021-2022 Intel Corporation
|
# Copyright (C) 2021-2023 Intel Corporation
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
@ -116,6 +116,7 @@ EOF
|
||||||
export NEO_SKIP_UNIT_TESTS
|
export NEO_SKIP_UNIT_TESTS
|
||||||
|
|
||||||
dch -v ${PKG_VERSION} -m "build $PKG_VERSION"
|
dch -v ${PKG_VERSION} -m "build $PKG_VERSION"
|
||||||
|
ulimit -n 65535 || true
|
||||||
dpkg-buildpackage -j`nproc --all` -us -uc -b -rfakeroot
|
dpkg-buildpackage -j`nproc --all` -us -uc -b -rfakeroot
|
||||||
sudo dpkg -i --force-depends ../*.deb
|
sudo dpkg -i --force-depends ../*.deb
|
||||||
if [ "${LOG_CCACHE_STATS}" == "1" ]; then
|
if [ "${LOG_CCACHE_STATS}" == "1" ]; then
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (C) 2021-2022 Intel Corporation
|
# Copyright (C) 2021-2023 Intel Corporation
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
#
|
#
|
||||||
|
@ -115,6 +115,7 @@ EOF
|
||||||
export NEO_SKIP_UNIT_TESTS
|
export NEO_SKIP_UNIT_TESTS
|
||||||
|
|
||||||
dch -v ${PKG_VERSION} -m "build $PKG_VERSION" -b
|
dch -v ${PKG_VERSION} -m "build $PKG_VERSION" -b
|
||||||
|
ulimit -n 65535 || true
|
||||||
dpkg-buildpackage -j`nproc --all` -us -uc -b -rfakeroot
|
dpkg-buildpackage -j`nproc --all` -us -uc -b -rfakeroot
|
||||||
sudo dpkg -i --force-depends ../*.deb
|
sudo dpkg -i --force-depends ../*.deb
|
||||||
if [ "${LOG_CCACHE_STATS}" == "1" ]; then
|
if [ "${LOG_CCACHE_STATS}" == "1" ]; then
|
||||||
|
|
Loading…
Reference in New Issue