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

build: Add make install #858

Merged
merged 1 commit into from
Sep 25, 2019
Merged

build: Add make install #858

merged 1 commit into from
Sep 25, 2019

Conversation

cgwalters
Copy link
Member

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.

@coreosbot
Copy link
Contributor

Can one of the admins verify this patch?

Copy link
Contributor

@ajeddeloh ajeddeloh left a 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
Copy link
Member

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).

Copy link
Member Author

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.
@cgwalters cgwalters merged commit 641ec6a into coreos:master Sep 25, 2019
jlebon pushed a commit to jlebon/ignition that referenced this pull request Mar 16, 2020
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)
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.

4 participants