Skip to content

Commit b4e8612

Browse files
Kakkoth Vayalambron, ShibuKakkoth Vayalambron, Shibu
authored andcommitted
Add additional packages for tr69hostif
1] libdirectfb, libtinyxml2, libyajl 2] From source wrp-c, trower-64, paradous, cJson, procps-ng
1 parent 875ac05 commit b4e8612

File tree

2 files changed

+54
-2
lines changed

2 files changed

+54
-2
lines changed

native-platform/Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,18 @@ RUN apt-get update && apt-get install -y cmake
3535
RUN cd /usr/src/googletest/googlemock/ && mkdir build && cmake .. && make && make install
3636

3737
RUN apt-get update && apt-get install -y \
38-
liblog4c-dev libarchive-dev libtool-bin libgpgme-dev
38+
liblog4c-dev libarchive-dev libtool-bin libgpgme-dev libsoup2.4-dev
3939

4040
RUN mkdir -p /opt && cd /opt && git clone git://git.yoctoproject.org/opkg \
4141
&& cd opkg && autoreconf --install && ./configure && make && make install && \
4242
cd .. && rm -rf opkg
4343

44+
RUN cd /opt && git clone https://github.com/xmidt-org/trower-base64.git && \
45+
cd trower-base64 && \
46+
meson setup build && \
47+
ninja -C build && ninja -C build install
48+
RUN rm -rf /opt/trower-base64
49+
4450
COPY ./mock-xconf-server-cert.pem /usr/share/ca-certificates/mock-xconf-server-cert.pem
4551
RUN chmod 644 /usr/share/ca-certificates/mock-xconf-server-cert.pem
4652
RUN echo "mock-xconf-server-cert.pem" >> /etc/ca-certificates.conf
@@ -88,6 +94,8 @@ autoreconf --install && \
8894
./configure --prefix=/usr/local && make && make install
8995
RUN rm -rf /opt/containers
9096

97+
RUN apt-get update && apt-get install -y libdirectfb-dev libyajl-dev libtinyxml2-dev
98+
9199
# Trim down the docker image size
92100
RUN rm -rf /var/lib/apt/lists/*
93101

native-platform/dependent_rdk_pkg_installer.sh

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@ make -C build/rbus && make -C build/rbus install
3131
WORKDIR=/opt/WORKDIR
3232
mkdir -p $WORKDIR
3333

34+
# cJson flavor used in RDK stack
35+
cd $WORKDIR
36+
git clone https://github.com/DaveGamble/cJSON.git
37+
cd cJSON
38+
mkdir build
39+
cd build
40+
cmake ..
41+
make && make install
42+
cd $WORKDIR
43+
rm -rf cJSON
44+
3445
# Include WDMP package
3546
cd $WORKDIR
3647
git clone https://github.com/xmidt-org/wdmp-c.git
@@ -41,6 +52,39 @@ make -C build && make -C build install
4152
cd $WORKDIR
4253
rm -rf wdmp-c
4354

55+
cd $WORKDIR
56+
git clone https://github.com/schmidtw/wrp-c.git
57+
git checkout main
58+
cd wrp-c
59+
mkdir build
60+
cd build
61+
cmake ..
62+
make && make install
63+
mkdir -p /usr/local/include/wrp-c
64+
cp -r ../src/wrp-c.h /usr/local/include/wrp-c/
65+
cd $ROOT
66+
rm -rf wrp-c
67+
68+
cd $WORKDIR
69+
git clone https://github.com/xmidt-org/libparodus.git
70+
cd libparodus
71+
mkdir build
72+
cd build
73+
cmake ..
74+
make && make install
75+
cp -r ../src/libparodus.h /usr/local/include/
76+
cp -r ../src/libparodus_log.h /usr/local/include/
77+
cd $WORKDIR
78+
rm -rf libparodus
79+
80+
81+
wget https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-3.3.17.tar.xz
82+
tar -xf procps-ng-3.3.17.tar.xz
83+
cd procps-3.3.17
84+
./configure --without-ncurses
85+
make && make install
86+
cd $WORKDIR
87+
rm -rf procps-ng-3.3.17.tar.xz procps-3.3.17
4488

4589

46-
#rtrouted -f -l DEBUG
90+
#rtrouted -f -l DEBUG

0 commit comments

Comments
 (0)