The RTC is needed for periodic filesystem checks to work.  Debian
currently builds-in all RTC drivers though.

Signed-off-by: Ben Hutchings <b...@decadent.org.uk>
---
 hook-functions | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/hook-functions b/hook-functions
index 5da0cde..817d5fc 100644
--- a/hook-functions
+++ b/hook-functions
@@ -405,7 +405,7 @@ dep_add_modules_mount()
        block_dev_mod_add "$dev_node"
 
        # sys walk some important device classes
-       for class in gpio phy regulator; do
+       for class in gpio phy regulator rtc; do
                for device in /sys/class/$class/*; do
                        device="$(readlink -f "$device")" \
                                && sys_walk_mod_add "$device"
@@ -502,6 +502,9 @@ auto_add_modules()
                        copy_modules_dir kernel/drivers/pinctrl
                        copy_modules_dir kernel/drivers/regulator
                        copy_modules_dir kernel/drivers/usb/phy
+
+                       # Needed for periodic fsck
+                       copy_modules_dir kernel/drivers/rtc
                ;;
                net)
                        copy_modules_dir kernel/drivers/net \

Attachment: signature.asc
Description: Digital signature

Reply via email to