Add shadow-utils dependency to rpm package (#3505)

This commit is contained in:
Lukasz Jagiello 2017-11-27 17:02:16 -08:00 committed by Daniel Nelson
parent d9e2599de7
commit b7a50b9414
1 changed files with 1 additions and 1 deletions

View File

@ -646,7 +646,7 @@ def package(build_output, pkg_name, version, nightly=False, iteration=1, static=
package_build_root, package_build_root,
current_location) current_location)
if package_type == "rpm": 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) out = run(fpm_command, shell=True)
matches = re.search(':path=>"(.*)"', out) matches = re.search(':path=>"(.*)"', out)
outfile = None outfile = None