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

gprconfig kb not installed outside of bootstrap script #136

Open
landgraf opened this issue Feb 1, 2023 · 2 comments
Open

gprconfig kb not installed outside of bootstrap script #136

landgraf opened this issue Feb 1, 2023 · 2 comments

Comments

@landgraf
Copy link
Contributor

landgraf commented Feb 1, 2023

Since de15c78 /usr/share/gprconfig is populated from within bootstrap.sh script only.
This is a problem for packaging/distributions because bootstrap.sh is not used for update between releases but only for bootstrapping on new architecture.

@t-14
Copy link
Contributor

t-14 commented Feb 1, 2023

Just to be sure... you would like to see Makefile support a variable that would do the equivalent of --with-kb in bootstrap.sh - correct?

@landgraf
Copy link
Contributor Author

landgraf commented Feb 2, 2023

Yes, support of

%__install -m 0755 -d %{buildroot}%{_datadir}/gprconfig
%__install -m 0644 ../gprconfig_kb-%{gprconfig_db_ver}/db/.xml %{buildroot}%{_datadir}/gprconfig
%__install -m 0644 ../gprconfig_kb-%{gprconfig_db_ver}/db/
.ent %{buildroot}%{_datadir}/gprconfig
%__install -m 0644 ../gprconfig_kb-%{gprconfig_db_ver}/db/gprconfig.xsd %{buildroot}%{_datadir}/gprconfig

in the Makefile

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

No branches or pull requests

2 participants