I have a script I'm using to install some rpms in my docker image which is shown below.
yumdownloader common-jars-${RELEASE_VERSION} \
test-jars-${RELEASE_VERSION} \
rpm -ivh --force --nodeps --prefix /usr/local/integrations *rpm && \
rm -rf *.rpm && \
rm -rf /var/lib/yum/yumdb
This results in the contents of each rpm file being loaded into /usr/local/integrations
.
Is there any issue with me later copying the contents of /usr/local/integrations
to another directory and using them there? I'm concerned that maybe the rpm -i
command will be doing some things under the covers that a regular cp
would not account for.
I can't change the script right now as it is part of a deployment process that's been in place a very long time. I just want to understand whether a cp
or mv
of these files will still allow them to function correctly.