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

BIGTOP-2492 Split flink debian packaging #132

Closed
wants to merge 4 commits into from
Closed

Conversation

dmvk
Copy link
Member

@dmvk dmvk commented Jul 13, 2016

No description provided.


Package: flink-jobmanager
Architecture: all
Depends: flink
Copy link
Member

Choose a reason for hiding this comment

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

you need
Depends: flink (= ${source:Version})
here instead to make sure that there's 1-1 correspondence version-wise

%pre
getent group flink >/dev/null || groupadd -r flink
getent passwd flink >/dev/null || useradd -c "Flink" -s /sbin/nologin -g flink -r -d %{lib_flink} flink 2> /dev/null || :


%post
%{alternatives_cmd} --install %{config_flink} %{flink_name}-conf %{config_flink}.dist 30
systemctl daemon-reload
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this belongs here: systemctl is only available on systemd-based Linux distros, Bigtop currently supports init.d

@asfgit asfgit closed this in 61718f2 Mar 22, 2017
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.

2 participants