diff --git a/build.py b/build.py index 7ae6c183df..847751e6c7 100755 --- a/build.py +++ b/build.py @@ -714,7 +714,7 @@ def package(build_output, pkg_name, version, nightly=False, iteration=1, static= package_build_root, current_location) if package_type == "rpm": - fpm_command += "--depends coreutils --rpm-posttrans {}".format(POSTINST_SCRIPT) + fpm_command += "--depends coreutils --depends shadow-utils --rpm-posttrans {}".format(POSTINST_SCRIPT) out = run(fpm_command, shell=True) matches = re.search(':path=>"(.*)"', out) outfile = None diff --git a/releng/packages/fs/usr/local/bin/influxdb_packages.bash b/releng/packages/fs/usr/local/bin/influxdb_packages.bash index a3067d5b62..f056e31001 100755 --- a/releng/packages/fs/usr/local/bin/influxdb_packages.bash +++ b/releng/packages/fs/usr/local/bin/influxdb_packages.bash @@ -93,7 +93,7 @@ if [ "$OS" == "linux" ] || [ "$OS" == "darwin" ]; then # don't need static install packages. if [ "$OS" == "linux" ] && [ "$STATIC" != "1" ]; then # Call fpm to build .deb and .rpm packages. - for typeargs in "-t deb" "-t rpm --depends coreutils"; do + for typeargs in "-t deb" "-t rpm --depends coreutils --depends shadow-utils"; do FPM_NAME=$( fpm \ -s dir \