forked from pool/ignition
8d1e6666f1
- Update to version 2.5.0 * Dropped 0003-Disable-resetting-UUID.patch (upstream moved the functionality into the CoreOS configuration. * Added ignition-enable-network.sh / ignition-enable-network.service: Implemented ignition-fetch-offline feature to only start networking if required - Update to version 2.4.1 - Update to version 2.4.0 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=49
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
commit 2ff83c70c46a22920aa9d5d0e58bbc71a62184ef
|
|
Author: Ignaz Forster <iforster@suse.com>
|
|
Date: Wed Jul 29 09:20:05 2020 +0200
|
|
|
|
Install Dracut modules with correct permissions
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index 29e52840..35b0deda 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -14,11 +14,17 @@ all:
|
|
|
|
.PHONY: install
|
|
install: all
|
|
- for x in dracut/*; do \
|
|
- bn=$$(basename $$x); \
|
|
- install -D -t $(DESTDIR)/usr/lib/dracut/modules.d/$${bn} $$x/*; \
|
|
+ for x in dracut/*/*.service dracut/*/*.target dracut/*/*.conf dracut/*/*.rules; do \
|
|
+ bn=$$(dirname $$x); \
|
|
+ bn=$$(basename $$bn); \
|
|
+ install -m 0644 -D -t $(DESTDIR)/usr/lib/dracut/modules.d/$${bn} $$x; \
|
|
done
|
|
- install -D -t $(DESTDIR)/usr/lib/systemd/system systemd/*
|
|
+ for x in dracut/*/*.sh dracut/*/*-generator; do \
|
|
+ bn=$$(dirname $$x); \
|
|
+ bn=$$(basename $$bn); \
|
|
+ install -m 0755 -D -t $(DESTDIR)/usr/lib/dracut/modules.d/$${bn} $$x; \
|
|
+ done
|
|
+ install -m 0644 -D -t $(DESTDIR)/usr/lib/systemd/system systemd/*
|
|
install -m 0755 -D -t $(DESTDIR)/usr/lib/dracut/modules.d/30ignition bin/$(GOARCH)/ignition
|
|
install -m 0755 -D -t $(DESTDIR)/usr/bin bin/$(GOARCH)/ignition-validate
|
|
|