From c9efcfab173bd1ac478f16f682b6256c3a88c078 Mon Sep 17 00:00:00 2001 From: Stefan Kalkowski Date: Thu, 17 Nov 2022 15:23:08 +0100 Subject: [PATCH] sntp_dummy_rtc: add depot package recipe This recipe combines the dummy_rtc_drv, which consumes a given time, and provides the "Rtc" service to its clients with the simple NTP client, which provides the current time to the RTC driver in regular intervals. Ref genodelabs/genode#4687 --- .../recipes/pkg/sntp_dummy_rtc/README | 2 + .../recipes/pkg/sntp_dummy_rtc/archives | 5 +++ .../libports/recipes/pkg/sntp_dummy_rtc/hash | 1 + .../recipes/pkg/sntp_dummy_rtc/runtime | 14 ++++++ .../recipes/raw/sntp_dummy_rtc/content.mk | 4 ++ .../libports/recipes/raw/sntp_dummy_rtc/hash | 1 + .../recipes/raw/sntp_dummy_rtc/ntp_rtc.config | 43 +++++++++++++++++++ 7 files changed, 70 insertions(+) create mode 100644 repos/libports/recipes/pkg/sntp_dummy_rtc/README create mode 100755 repos/libports/recipes/pkg/sntp_dummy_rtc/archives create mode 100644 repos/libports/recipes/pkg/sntp_dummy_rtc/hash create mode 100755 repos/libports/recipes/pkg/sntp_dummy_rtc/runtime create mode 100644 repos/libports/recipes/raw/sntp_dummy_rtc/content.mk create mode 100644 repos/libports/recipes/raw/sntp_dummy_rtc/hash create mode 100644 repos/libports/recipes/raw/sntp_dummy_rtc/ntp_rtc.config diff --git a/repos/libports/recipes/pkg/sntp_dummy_rtc/README b/repos/libports/recipes/pkg/sntp_dummy_rtc/README new file mode 100644 index 0000000000..09e65c44ae --- /dev/null +++ b/repos/libports/recipes/pkg/sntp_dummy_rtc/README @@ -0,0 +1,2 @@ + + Runtime for combining the dummy RTC driver with NTP updates diff --git a/repos/libports/recipes/pkg/sntp_dummy_rtc/archives b/repos/libports/recipes/pkg/sntp_dummy_rtc/archives new file mode 100755 index 0000000000..7779e3c196 --- /dev/null +++ b/repos/libports/recipes/pkg/sntp_dummy_rtc/archives @@ -0,0 +1,5 @@ +_/raw/sntp_dummy_rtc +_/src/sntp_client +_/src/dummy_rtc_drv +_/src/report_rom +_/src/init diff --git a/repos/libports/recipes/pkg/sntp_dummy_rtc/hash b/repos/libports/recipes/pkg/sntp_dummy_rtc/hash new file mode 100644 index 0000000000..86a1d8264e --- /dev/null +++ b/repos/libports/recipes/pkg/sntp_dummy_rtc/hash @@ -0,0 +1 @@ +2022-11-17 4561972104bd152029598ba339b5e1bbf44fc593 diff --git a/repos/libports/recipes/pkg/sntp_dummy_rtc/runtime b/repos/libports/recipes/pkg/sntp_dummy_rtc/runtime new file mode 100755 index 0000000000..679ea68619 --- /dev/null +++ b/repos/libports/recipes/pkg/sntp_dummy_rtc/runtime @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/repos/libports/recipes/raw/sntp_dummy_rtc/content.mk b/repos/libports/recipes/raw/sntp_dummy_rtc/content.mk new file mode 100644 index 0000000000..fe292267ca --- /dev/null +++ b/repos/libports/recipes/raw/sntp_dummy_rtc/content.mk @@ -0,0 +1,4 @@ +content: ntp_rtc.config + +ntp_rtc.config: + cp $(REP_DIR)/recipes/raw/sntp_dummy_rtc/$@ $@ diff --git a/repos/libports/recipes/raw/sntp_dummy_rtc/hash b/repos/libports/recipes/raw/sntp_dummy_rtc/hash new file mode 100644 index 0000000000..d4f355792b --- /dev/null +++ b/repos/libports/recipes/raw/sntp_dummy_rtc/hash @@ -0,0 +1 @@ +2022-11-17 35f7a244e9441671f9e6ce2c866f3889e056d7b7 diff --git a/repos/libports/recipes/raw/sntp_dummy_rtc/ntp_rtc.config b/repos/libports/recipes/raw/sntp_dummy_rtc/ntp_rtc.config new file mode 100644 index 0000000000..7ef6ecd3a0 --- /dev/null +++ b/repos/libports/recipes/raw/sntp_dummy_rtc/ntp_rtc.config @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +