home: hub: mkinitfs

Download patch

ref: 89f9c4fb0dd3a69dea4cb7ecead55692c9732e06
parent: edad1469ace201e53f05ceeae2b779ac12c33990
author: Henrik Riomar <henrik.riomar@gmail.com>
date: Tue Oct 15 07:59:43 CDT 2019

add feature rpirtc

Add new feature rpi rtc allowing a hw rtc to be used.

The init script in Alpine Linux since v3.9 looks for /dev/rtc, if
not found it will switch to swclock.

To make this check work on a Rasberry PI with a mounted rtc and
the following in usercfg.txt
 dtoverlay=i2c-rtc,ds3231
we must have rtc drivers available already initramfs.

--- a/Makefile
+++ b/Makefile
@@ -43,6 +43,7 @@
 		features.d/raid.files \
 		features.d/raid.modules \
 		features.d/reiserfs.modules \
+		features.d/rpirtc.modules \
 		features.d/scsi.modules \
 		features.d/squashfs.modules \
 		features.d/ubifs.modules \
--- /dev/null
+++ b/features.d/rpirtc.modules
@@ -1,0 +1,1 @@
+kernel/drivers/rtc/rtc-ds1307.ko