mssql-server.sh 593 Bytes
Newer Older
1 2
#!/bin/sh -x

Vitaly Lipatov's avatar
Vitaly Lipatov committed
3
# It will be run with two args: buildroot spec
4 5 6
BUILDROOT="$1"
SPEC="$2"

7
# we need libssl/libcrypto-devel due libssl.so/libcrypto.so using (ALT bug 35559)
8
REQUIRES="libssl-devel pbzip2 bzip2 gdb python-base libnuma libkrb5 libsss_nss_idmap cyrus-sasl2 libsasl2-plugin-gssapi procps"
9 10

subst "s|^\(Name: .*\)$|# FIXME: due libcrypto.so.10(libcrypto.so.10)(64bit) autoreqs\nAutoReq:yes,nolib\n# Converted from original package requires\nRequires:$REQUIRES\n\1|g" $SPEC
11 12 13

# Set correct path to sysctl
subst 's|sysctl|/sbin/sysctl|' $BUILDROOT/opt/mssql/bin/crash-support-functions.sh