1
0
mirror of https://github.com/coreos/ignition-dracut.git synced 2026-02-05 15:45:17 +01:00
Files
ignition-dracut/Makefile
Luca BRUNO e081e9e2df make: install systemd unit as non-executable
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.
```
2020-06-24 08:31:18 +00:00

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/*