forked from pool/ignition
e05d76ae86
- Refresh 0001-fix-install-permissions.patch to match pull request OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=55
26 lines
986 B
Diff
26 lines
986 B
Diff
commit 5c3b4221dafdc4b701495d85a5a563bd428fe5ec
|
|
Author: Ignaz Forster <iforster@suse.com>
|
|
Date: Mon Aug 10 23:47:43 2020 +0200
|
|
References: (gh#coreos/ignition#1069)
|
|
Upstream: Submitted
|
|
|
|
Install Dracut modules with correct permissions
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index 932b9c7f..fac2218d 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -18,9 +18,10 @@ all:
|
|
install: all
|
|
for x in dracut/*; do \
|
|
bn=$$(basename $$x); \
|
|
- install -D -t $(DESTDIR)/usr/lib/dracut/modules.d/$${bn} $$x/*; \
|
|
+ install -m 0644 -D -t $(DESTDIR)/usr/lib/dracut/modules.d/$${bn} $$x/*; \
|
|
done
|
|
- install -D -t $(DESTDIR)/usr/lib/systemd/system systemd/*
|
|
+ chmod a+x $(DESTDIR)/usr/lib/dracut/modules.d/*/*.sh $(DESTDIR)/usr/lib/dracut/modules.d/*/*-generator
|
|
+ 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
|
|
|