-
-
Notifications
You must be signed in to change notification settings - Fork 751
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
Remove EL6 support #4984
Remove EL6 support #4984
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,13 +27,6 @@ rpm: | |
cp packaging/rpm/$(COMPONENTS).spec $(RPM_SPECS_DIR)/ | ||
cd $(RPM_SPECS_DIR) && rpmbuild --clean --rmsource -ba $(COMPONENTS).spec | ||
|
||
.PHONY: rhel-rpm | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just FYI the rpm/deb logic in the Makefiles of |
||
rhel-rpm: | ||
pushd ~ && rpmdev-setuptree && popd | ||
tar --transform=s~^~$(COMPONENTS)-$(VER)/~ -czf $(RPM_SOURCES_DIR)/$(COMPONENTS).tar.gz bin conf $(COMPONENTS) | ||
cp packaging/rpm/$(COMPONENTS)-rhel6.spec $(RPM_SPECS_DIR)/ | ||
cd $(RPM_SPECS_DIR) && rpmbuild --clean --rmsource -ba $(COMPONENTS)-rhel6.spec | ||
|
||
.PHONY: deb | ||
deb: | ||
mkdir -p ~/debbuild | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -115,10 +115,8 @@ function service_manager() { | |
/sbin/initctl $action $svcname | ||
elif command -v service > /dev/null 2>&1; then | ||
service $svcname $action | ||
elif [ -x /etc/init.d/${1} ]; then | ||
/etc/init.d/$svcname $action | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good catch for |
||
else | ||
echo -e "\e[31mError: Unknown service manager, we ONLY support systemd, upstart and sysv! \e[0m\n" | ||
echo -e "\e[31mError: Unknown service manager, we ONLY support systemd and upstart! \e[0m\n" | ||
exit 1 | ||
fi | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍