parent
85425e8d7f
commit
be0438ad36
2
build.py
2
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
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue