From cef333bf90893095b44fda658b79932387b7d883 Mon Sep 17 00:00:00 2001
From: Hannes Feldt <feldt@astron.nl>
Date: Mon, 16 Jun 2025 12:49:51 +0200
Subject: [PATCH] bump

---
 kas-pypcc-rpi.yml                               | 2 +-
 recipes-support/ntp/ntp/ntp.conf                | 1 +
 recipes-support/ntp/ntp_%.bbappend              | 5 +++++
 recipes-support/swupdate/swupdate/rpi/defconfig | 2 +-
 recipes-support/swupdate/swupdate_%.bbappend    | 3 +++
 5 files changed, 11 insertions(+), 2 deletions(-)
 create mode 100644 recipes-support/ntp/ntp/ntp.conf
 create mode 100644 recipes-support/ntp/ntp_%.bbappend

diff --git a/kas-pypcc-rpi.yml b/kas-pypcc-rpi.yml
index a107f29..f15ed3f 100644
--- a/kas-pypcc-rpi.yml
+++ b/kas-pypcc-rpi.yml
@@ -86,7 +86,7 @@ local_conf_header:
     DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
     VIRTUAL-RUNTIME_init_manager = "systemd"
     VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
-    IMAGE_INSTALL:append = "nano pv bzip2 python3-pypcc python3-halibut-ipconfig vcgencmd dtc i2c-tools swupdate swupdate-www libgpiod libgpiod-tools libgpiod-dev kernel-module-i2c-gpio"
+    IMAGE_INSTALL:append = "ntp python3-pypcc python3-halibut-ipconfig vcgencmd dtc i2c-tools swupdate swupdate-www libgpiod libgpiod-tools libgpiod-dev kernel-module-i2c-gpio"
     IMAGE_FSTYPES = "tar.bz2 ext4 ext4.gz wic.bz2 wic.bmap"
     SWUPDATE_IMAGES_FSTYPES[core-image-full-cmdline] = ".ubifs"
     IMAGE_BOOT_FILES:append = "halibut.dtbo;overlays/halibut.dtbo"
diff --git a/recipes-support/ntp/ntp/ntp.conf b/recipes-support/ntp/ntp/ntp.conf
new file mode 100644
index 0000000..3af27a5
--- /dev/null
+++ b/recipes-support/ntp/ntp/ntp.conf
@@ -0,0 +1 @@
+server 10.99.250.250 prefer
diff --git a/recipes-support/ntp/ntp_%.bbappend b/recipes-support/ntp/ntp_%.bbappend
new file mode 100644
index 0000000..08dc5b6
--- /dev/null
+++ b/recipes-support/ntp/ntp_%.bbappend
@@ -0,0 +1,5 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += " \
+    file://ntp.conf \
+    "
diff --git a/recipes-support/swupdate/swupdate/rpi/defconfig b/recipes-support/swupdate/swupdate/rpi/defconfig
index 5a57f33..e8523a3 100644
--- a/recipes-support/swupdate/swupdate/rpi/defconfig
+++ b/recipes-support/swupdate/swupdate/rpi/defconfig
@@ -13,7 +13,7 @@ CONFIG_HAVE_DOT_CONFIG=y
 #
 CONFIG_CURL=y
 # CONFIG_CURL_SSL is not set
-CONFIG_SYSTEMD=n
+CONFIG_SYSTEMD=y
 CONFIG_SCRIPTS=y
 CONFIG_HW_COMPATIBILITY=y
 CONFIG_HW_COMPATIBILITY_FILE="/etc/hwrevision"
diff --git a/recipes-support/swupdate/swupdate_%.bbappend b/recipes-support/swupdate/swupdate_%.bbappend
index 5b39f32..cd962aa 100644
--- a/recipes-support/swupdate/swupdate_%.bbappend
+++ b/recipes-support/swupdate/swupdate_%.bbappend
@@ -4,3 +4,6 @@ SRC_URI += " \
     file://swupdate.cfg \
     file://defconfig \
     "
+
+DEPENDS += "systemd"
+RDEPENDS_${PN} = "systemd"
\ No newline at end of file
-- 
GitLab