summaryrefslogtreecommitdiff
path: root/mkinitramfs
diff options
context:
space:
mode:
Diffstat (limited to 'mkinitramfs')
-rwxr-xr-xmkinitramfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkinitramfs b/mkinitramfs
index f667c53..2fd0cc8 100755
--- a/mkinitramfs
+++ b/mkinitramfs
@@ -166,7 +166,7 @@ export verbose
# Private, used by 'catenate_cpiogz'.
export __TMPCPIOGZ
-for d in bin conf/conf.d etc lib modules sbin scripts; do
+for d in bin conf/conf.d etc lib modules sbin scripts ${MODULESDIR}; do
mkdir -p "${DESTDIR}/${d}"
done