Skip to content

Commit f69e41d

Browse files
author
Nishidha Panpaliya
committed
Some more minor fixes
1 parent 1061227 commit f69e41d

File tree

4 files changed

+3
-19
lines changed

4 files changed

+3
-19
lines changed

aws/security_plugins/db2-aws-iam/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ export INSTALLED_JSON_C=$(yum info installed json-c | grep Version | sed -e 's/V
3131
make
3232
```
3333

34+
There is also a script `build.sh` in the current directory which does all the above steps in one go.
35+
3436
### Build steps for container build
3537

3638
1. Create the build container

aws/security_plugins/db2-aws-iam/install_packages.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,6 @@ else
1717
sudo yum install -y openssl openssl-devel openssl-libs
1818
fi
1919

20-
if [[ "$ARCH" =~ "amzn2.x86_64" ]]; then
21-
22-
# Remove json-c if the plugin is being built on Amazon Linux 2
23-
sudo yum remove -y json-c
24-
25-
# Build a newer version of json-c from source
26-
git clone https://github.com/json-c/json-c -b json-c-0.13.1-20180305
27-
cd json-c/
28-
sudo yum install automake autoconf libtool
29-
sh autogen.sh
30-
./configure
31-
make
32-
sudo make install
33-
cd ..
34-
rm -rf json-c
35-
36-
fi
37-
3820
if [[ ! -e /usr/lib64/libldap.so.2 ]]; then
3921
sudo ln -s "/usr/lib64/libldap.so" /usr/lib64/libldap.so.2
4022
fi

aws/security_plugins/db2-aws-iam/src/test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ unzip awscliv2.zip
1515
sudo ./aws/install
1616
```
1717

18-
2. Install python package
18+
2. Install python package, if not already present. Tests are tested with python 2.7 as well as 3.11.
1919

2020
```shell
2121
sudo yum install python3.11
-2.83 MB
Binary file not shown.

0 commit comments

Comments
 (0)