Skip to content

Commit

Permalink
change directory to /usr/include/panda-ng not libpanda-ng
Browse files Browse the repository at this point in the history
  • Loading branch information
lacraig2 committed Feb 11, 2025
1 parent 535fb6c commit f74e781
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ RUN git clone https://github.com/panda-re/libpanda-ng /libpanda-ng && \
FROM installer AS cleanup
RUN find /usr/local/lib/x86_64-linux-gnu -name "*.so" -exec strip {} \;
RUN strip /panda/build/contrib/plugins/libpanda_plugin_interface.so
RUN mkdir -p /usr/include/libpanda-ng
COPY --from=libgen /libpanda-ng/build/* /usr/include/libpanda-ng
RUN mkdir -p /usr/include/panda-ng
COPY --from=libgen /libpanda-ng/build/* /usr/include/panda-ng

FROM base AS panda
COPY --from=cleanup /panda/build/libpanda* /usr/local/bin
COPY --from=cleanup /usr/include/libpanda-ng /usr/include/libpanda-ng
COPY --from=cleanup /usr/include/panda-ng /usr/include/panda-ng
2 changes: 1 addition & 1 deletion panda/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COPY --from=panda /usr/local/lib/x86_64-linux-gnu /package-root/usr/local/lib/pa
COPY --from=panda /usr/local/share/qemu /package-root/usr/local/share/panda
RUN mkdir -p /package-root/usr/local/lib/panda/contrib/plugins
COPY --from=panda /panda/build/contrib/plugins/libpanda_plugin_interface.so /package-root/usr/local/lib/panda/contrib/plugins
COPY --from=panda /usr/include/libpanda-ng /package-root/usr/include/libpanda-ng
COPY --from=panda /usr/include/panda-ng /package-root/usr/include/panda-ng
COPY --from=panda /panda/build/config-host.mak /package-root/usr/local/share/panda

# Create DEBIAN directory and control file
Expand Down

0 comments on commit f74e781

Please sign in to comment.