qm icon indicating copy to clipboard operation
qm copied to clipboard

Add qm-is-ostree script installation and RPM packaging

Open RakeshMK90 opened this issue 1 year ago • 2 comments

  • Updated Makefile to install the qm-is-ostree script to ${DATADIR}/qm/
  • Modified qm.spec to include qm-is-ostree in the install and package files
  • Added the qm-is-ostree script to the RPM pre uninstall steps Signed-off-by: Rakesh Musalay [email protected]

Address the issue https://github.com/containers/qm/issues/586 Summary of Changes Makefile Updates:

Added a new installation step for the qm-is-ostree script. The script tools/qm-is-ostree is installed as qm-is-ostree with executable permissions (755) to the target directory ${DATADIR}/qm/.

RPM Spec File (qm.spec) Modifications:

Added an entry to install the qm-is-ostree script in the %install section at /usr/share/qm/qm-is-ostree. Updated the list of packaged files to include %{_datadir}/qm/qm-is-ostree, ensuring the script is tracked as part of the package. Added the new script qm-is-ostree to the %preun section, indicating that it may be involved in uninstallation steps.

RakeshMK90 avatar Oct 11 '24 16:10 RakeshMK90