-
Notifications
You must be signed in to change notification settings - Fork 196
Conversation
getting this error:
but that one should not be a problem if installing latest available |
@chavafg right. But brew installs it under |
@raravena80 right, so @chavafg should probably add something like:
|
ohh right, thank you both, let me add that line. |
b91ce14
to
b401aa4
Compare
Also you need to change the shebang in |
b401aa4
to
7b66672
Compare
Thanks @chavafg! lgtm /cc @raravena80. |
72e29e6
to
5c21bbf
Compare
Seems like
|
Split them into two files with +build tags? |
@chavafg you can safely remove SIGSTKFLT (it's unused on Linux and not existing on darwin). About SIGPWR, is not a POSIX signal and maybe that can be removed too. From signal(7):
|
cmd/log-parser/Makefile
Outdated
INSTALL_FLAGS := | ||
|
||
ifeq ($(detected_OS),Linux) | ||
INSTALL_FLAGS := -D |
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.
To keep things cleaner you can avoid checking OS version here and just run:
install: $(TARGET)
install -d $(shell dirname $(DESTTARGET))
install $(TARGET) $(DESTTARGET)
Agreed - we've already removed We still have
Specifically, I think you could:
|
Run static checks on linux-ppc64le and osx. Fixes: kata-containers#691. Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
`install -D` is not supported on Darwin, so we need to modify how kata-log-parser is installed. Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
SIGPWR is not supported on Darwin. This patch adds new kill_linux_test.go to use SIGPWR and kill_darwin_test.go that does not use SIGPWR. In addition SIGSTKFLT was removed from the tests. Signed-off-by: Salvador Fuentes <salvador.fuentes@intel.com>
5c21bbf
to
99e348d
Compare
@marcov, @jodh-intel thanks for your suggestions, I already applied the changes, PTAL. |
Thanks @chavafg! lgtm |
Run statick checks on linux-ppc64le and osx.
Fixes: #691.
Signed-off-by: Salvador Fuentes salvador.fuentes@intel.com