# A good idea whenever kernel modules are added or changed:
if [ -x sbin/depmod ]; then
  chroot . /sbin/depmod -a 5.15.21-armv7 1> /dev/null 2> /dev/null
fi

( cd lib/modules/5.15.21-armv7 ; rm -rf build )
( cd lib/modules/5.15.21-armv7 ; ln -sf ../../../usr/src/linux-5.15.21 build )
( cd lib/modules/5.15.21-armv7 ; rm -rf source )
( cd lib/modules/5.15.21-armv7 ; ln -sf ../../../usr/src/linux-5.15.21 source )
