-
Notifications
You must be signed in to change notification settings - Fork 247
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
build: Add make install
#858
Conversation
Can one of the admins verify this patch? |
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.
LGTM
# to make this configurable. | ||
.PHONY: install | ||
install: all | ||
install -m 0755 -D -t $(DESTDIR)/usr/lib/dracut/modules.d/30ignition bin/$(GOARCH)/ignition |
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.
This is missing ignition-validate
, no? We're not shipping it in FCOS, but e.g. it'd be nice to re-use this Makefile in the spec file.
Could also split those two into separate dependent targets (e.g. install-ignition
and install-ignition-validate
) for the cosa/FCOS local dev case (though really it wouldn't hurt development either if ignition-validate
gets overlayed too).
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.
Updated to ship ignition-validate
too.
Following coreos/ignition-dracut#106 add a default `make install` rule that honors `DESTDIR`. Main motivation is hacking on ignition in a unified way with ostree, ignition-dracut and other projects using coreos-assembler.
Following coreos/ignition-dracut#106 add a default `make install` rule that honors `DESTDIR`. Main motivation is hacking on ignition in a unified way with ostree, ignition-dracut and other projects using coreos-assembler. (Backport of coreos#858)
Following coreos/ignition-dracut#106
add a default
make install
rule that honorsDESTDIR
. Mainmotivation is hacking on ignition in a unified way with ostree,
ignition-dracut and other projects using coreos-assembler.