summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-04-30 18:01:47 +0200
committerHarald Hoyer <harald@redhat.com>2013-05-06 16:19:02 +0200
commit8f51399e75e5d0d0741ecb18c549a57840bd1cc3 (patch)
tree4212a43fb49a2ca03c94ad9add1cb771c6b6f5d4 /Makefile.am
parentc95686c6ed1879f959a4eb70249167e297751834 (diff)
kernel-install: add default install scripts
Do the depmod in the kernel-install hooks, so hooks can produce/install kernel modules and be part of the depmod. Also move the basic boot loader entry creation and removal to a plugin script. If PRETTY_NAME is not defined in /etc/os-release, fallback to PRETTY_NAME="Linux $KERNEL_VERSION". Add documentation for everything in the man page.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index d4c2f8577d..cba9a3e609 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -90,6 +90,7 @@ udevhomedir=$(udevlibexecdir)
udevrulesdir=$(udevlibexecdir)/rules.d
udevhwdbdir=$(udevlibexecdir)/hwdb.d
catalogdir=$(prefix)/lib/systemd/catalog
+kernelinstalldir = $(prefix)/lib/kernel/install.d
# And these are the special ones for /
rootprefix=@rootprefix@
@@ -291,11 +292,12 @@ bin_PROGRAMS = \
systemd-delta \
systemd-analyze
-bin_SCRIPTS = \
+dist_bin_SCRIPTS = \
src/kernel-install/kernel-install
-EXTRA_DIST += \
- src/kernel-install/kernel-install
+dist_kernelinstall_SCRIPTS = \
+ src/kernel-install/50-depmod.install \
+ src/kernel-install/90-loaderentry.install
rootlibexec_PROGRAMS = \
systemd \