only main and root packages

This commit is contained in:
Marc Beninca 2024-08-07 11:31:43 +02:00
parent 7a8b64c3b4
commit 0387195fa8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -709,9 +709,12 @@ index-url = ${SPCD_URL_PYTHON}
spcd_ip__venv="/opt/venv" spcd_ip__venv="/opt/venv"
"${SPCD_PYTHON_ALIAS}" -m "venv" "${spcd_ip__venv}" "${SPCD_PYTHON_ALIAS}" -m "venv" "${spcd_ip__venv}"
spcd_split spcd_split
for spcd_ip__name in "spcd" "rwx"; do
rsync --archive --verbose \ rsync --archive --verbose \
"${SPCD_PYTHON_PACKAGES}" \ "${SPCD_PYTHON_PACKAGES}/${spcd_ip__name}/" \
"${spcd_ip__venv}/lib/${SPCD_PYTHON_COMMAND}/site-packages" "\
${spcd_ip__venv}/lib/${SPCD_PYTHON_COMMAND}/site-packages/${spcd_ip__name}/"
done
spcd_split spcd_split
. "${spcd_ip__venv}/bin/activate" . "${spcd_ip__venv}/bin/activate"
spcd_split spcd_split
@ -755,7 +758,7 @@ ${SPCD_PYTHON_PACKAGES}"
if [ -f "${spcd_ipm__script}" ]; then if [ -f "${spcd_ipm__script}" ]; then
spcd_split spcd_split
spcd_ipm__check="${spcd_ipm__root}/check.sha512sum" spcd_ipm__check="${spcd_ipm__root}/check.sha512sum"
sha512sum "${spcd_ipm__script}" > "${spcd_ipm__check}" sha512sum "${spcd_ipm__script}" >"${spcd_ipm__check}"
printf "%s" "${SPCD}" >"${spcd_ipm__script}" printf "%s" "${SPCD}" >"${spcd_ipm__script}"
ls -l "${spcd_ipm__script}" ls -l "${spcd_ipm__script}"
dos2unix "${spcd_ipm__script}" dos2unix "${spcd_ipm__script}"