diff options
Diffstat (limited to 'update-kernel.in')
-rw-r--r-- | update-kernel.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/update-kernel.in b/update-kernel.in index 3d13d25..d9b774f 100644 --- a/update-kernel.in +++ b/update-kernel.in @@ -265,6 +265,7 @@ KVER_FLAVOR= [ "$FLAVOR" = vanilla ] || KVER_FLAVOR=-$FLAVOR KVER=$(basename $(ls -d $ROOT/lib/modules/*"$KVER_FLAVOR")) DTBDIR=$ROOT/boot/dtbs-$FLAVOR +[ -d "$DTBDIR" ] || DTBDIR=$ROOT/usr/lib/linux-$KVER depmod -b $ROOT "$KVER" |