mirror of
https://github.com/coreos/ignition-dracut.git
synced 2026-02-05 15:45:17 +01:00
This tweaks permissions when installing units in order to avoid the following warning at boot time: ``` systemd[1]: Configuration file /usr/lib/systemd/system/ignition-firstboot-complete.service is marked executable. Please remove executable permission bits. Proceeding anyway. ```
12 lines
264 B
Makefile
12 lines
264 B
Makefile
.PHONY: all
|
|
all:
|
|
@echo "(No build step)"
|
|
|
|
.PHONY: install
|
|
install: all
|
|
for x in dracut/*; do \
|
|
bn=$$(basename $$x); \
|
|
install -D -t $(DESTDIR)/usr/lib/dracut/modules.d/$${bn} $$x/*; \
|
|
done
|
|
install -D -m 644 -t $(DESTDIR)/usr/lib/systemd/system systemd/*
|