]>
git.proxmox.com Git - systemd.git/blob - src/kernel-install/50-depmod.install
2 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
3 # ex: ts=8 sw=4 sts=4 et filetype=sh
9 INITRD_OPTIONS_START
="5"
11 [[ $KERNEL_VERSION ]] ||
exit 1
15 [[ -d "/lib/modules/${KERNEL_VERSION}/kernel" ]] ||
exit 0
16 [ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && \
17 echo "Running depmod -a ${KERNEL_VERSION}"
18 exec depmod
-a "${KERNEL_VERSION}"
21 [ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && \
22 echo "Removing /lib/modules/${KERNEL_VERSION}/modules.dep and associated files"
23 exec rm -f /lib
/modules
/"${KERNEL_VERSION}"/modules.
{alias{,.bin
},builtin.bin
,dep
{,.bin
},devname
,softdep
,symbols
{,.bin
}}