Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add qm-is-ostree script installation and RPM packaging #614

Merged
merged 2 commits into from
Oct 14, 2024
Merged

Conversation

RakeshMK90
Copy link
Collaborator

@RakeshMK90 RakeshMK90 commented Oct 11, 2024

  • 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 #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.

- 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 preuninstall stepsw
Signed-off-by: Rakesh Musalay <[email protected]>
Makefile Outdated Show resolved Hide resolved
Copy link
Collaborator

@dougsland dougsland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, small comment.

Signed-off-by: Rakesh Musalay <[email protected]>
@dougsland
Copy link
Collaborator

@RakeshMK90 from my side looks good let's hear from others too, we need one +1 at least. @Yarboa @aesteve-rh @sandrobonazzola

Good work, thanks !

@nsednev
Copy link
Collaborator

nsednev commented Oct 13, 2024

I'm not sure that we really need braces around the variable OSTREE_PATH.
I don't think that OSTREE_PATH variable will contain any whitespace characters (spaces, tabs, etc.) anyways.

@dougsland dougsland merged commit 1cd84ff into main Oct 14, 2024
11 checks passed
@dougsland dougsland deleted the qm-specfile branch November 10, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants