Skip to content

add: tags tagFileDevices - 1095#87

Merged
jarondl merged 5 commits intogoogle:masterfrom
yakhatape:add_filedevice_flags_RPM
Apr 13, 2024
Merged

add: tags tagFileDevices - 1095#87
jarondl merged 5 commits intogoogle:masterfrom
yakhatape:add_filedevice_flags_RPM

Conversation

@yakhatape
Copy link
Copy Markdown
Contributor

Hi, the following PR is a proposal to add the flag number 1095 which is missing into the RPM Header Flags, which is a standard from the Linux foundation and from the native rpmbuild tools.

https://refspecs.linuxfoundation.org/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/swinstall.html
https://rpm-software-management.github.io/rpm/manual/tags.html

The impact of this missing Flag into the RPM Header is for some Redhat Satellite or Spacewalk/Katello repo manager etc.. which are checking the presence of this Flag cant import properly RPM Package build by rpmpack. Which provok an internal reposity inconsistance between of the public repository.

Exemple Elastic use the rpmpack since few month and our internal repository arent able to be updated with package built with rpmpack since their version >=v8.5.0 because the Flag 1095/FILEDEVICE it absent.
#elastic/apm-server#11367

I'm staying at disposal if needed

@jarondl
Copy link
Copy Markdown
Contributor

jarondl commented Aug 28, 2023

Very interesting. I guess we did not run into it, because our rpms install just fine.
Do you know if most rpms built with rpmbuild have this field? And is the value reliably 1? I don't want to break other users.
Is there any way to add a test case?

/gcbrun

@jarondl
Copy link
Copy Markdown
Contributor

jarondl commented Sep 10, 2023

Ping @yakhatape
It's ok if you don't have answers for my questions, just let me know :)

@caarlos0
Copy link
Copy Markdown
Contributor

@jarondl
Copy link
Copy Markdown
Contributor

jarondl commented Feb 15, 2024

Thanks for checking @caarlos0 ! What do you say, should we merge this?

@yakhatape are you there? Can you sync the tags.go file please?

@caarlos0
Copy link
Copy Markdown
Contributor

I think so

FWIW, I ran nfpm's RPM test suite against this as well, and everything seems ok
CleanShot 2024-02-15 at 16 20 55@2x

@yakhatape
Copy link
Copy Markdown
Contributor Author

@jarondl sorry for the delay I got some personnal issue to follow the subject.

I've fixe the conflict from master into the branch, can you do the gcbrun ?

thanks for all your help ;)

@jarondl
Copy link
Copy Markdown
Contributor

jarondl commented Mar 28, 2024

Hi @yakhatape , no problem about delays, I often have them too. Have you seen my comment in line 464 of rpm.go? Please add a comment explaining what 1 is. (Or what we think it is).

@jarondl
Copy link
Copy Markdown
Contributor

jarondl commented Mar 29, 2024

/gcbrun

@yakhatape
Copy link
Copy Markdown
Contributor Author

yakhatape commented Apr 11, 2024

@jarondl all done
Can you rerun all step to merge the change ?

@jarondl jarondl merged commit 60c43da into google:master Apr 13, 2024
@jarondl
Copy link
Copy Markdown
Contributor

jarondl commented Apr 13, 2024

Thank you very much @yakhatape for your contribution!

totph pushed a commit to totph/rpmpack that referenced this pull request Oct 8, 2024
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