Skip to content

Commit

Permalink
Add rpm dependency on shadow-utils for useradd
Browse files Browse the repository at this point in the history
Fixes #8951.
  • Loading branch information
mark-rushakoff committed Oct 12, 2017
1 parent 85425e8 commit be0438a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion releng/packages/fs/usr/local/bin/influxdb_packages.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit be0438a

Please sign in to comment.