From f0b0fd96b2e39c84c05b7e2de7369107bbcdcfed Mon Sep 17 00:00:00 2001 From: jianyun Date: Sat, 13 Apr 2024 14:06:47 +0000 Subject: [PATCH] update --- buildroot-external/configs/panther_x2_defconfig | 10 +++++++++- .../rootfs-overlay/etc/systemd/timesyncd.conf | 4 +++- .../rootfs-overlay/root/.ssh/authorized_keys | 1 + 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 buildroot-external/rootfs-overlay/root/.ssh/authorized_keys diff --git a/buildroot-external/configs/panther_x2_defconfig b/buildroot-external/configs/panther_x2_defconfig index a445ea5e21d..94181dd5df8 100644 --- a/buildroot-external/configs/panther_x2_defconfig +++ b/buildroot-external/configs/panther_x2_defconfig @@ -173,4 +173,12 @@ BR2_PACKAGE_UDISKS2=y BR2_PACKAGE_WGET=y BR2_PACKAGE_HTOP=y BR2_PACKAGE_VIM=y -BR2_TARGET_GENERIC_ROOT_PASSWD="1234" \ No newline at end of file +BR2_PACKAGE_DOCKER_COMPOSE=y +BR2_TARGET_GENERIC_ROOT_PASSWD="1234" +BR2_TARGET_ENABLE_ROOT_LOGIN=y +BR2_PACKAGE_NTP=y +BR2_PACKAGE_NTP_SNTP=y +BR2_PACKAGE_NTPDATE=y +BR2_PACKAGE_NTPTIME=y +BR2_PACKAGE_TZDATA=y +BR2_TARGET_LOCALTIME="Asia/Shanghai" \ No newline at end of file diff --git a/buildroot-external/rootfs-overlay/etc/systemd/timesyncd.conf b/buildroot-external/rootfs-overlay/etc/systemd/timesyncd.conf index e90f0c2256f..3ed56f2193a 100644 --- a/buildroot-external/rootfs-overlay/etc/systemd/timesyncd.conf +++ b/buildroot-external/rootfs-overlay/etc/systemd/timesyncd.conf @@ -1,4 +1,6 @@ [Time] -FallbackNTP=time.cloudflare.com +NTP=cn.ntp.org.cn +NTP=time1.cloud.tencent.com +FallbackNTP=ntp.ntsc.ac.cn # Speed-up boot as first attempt is done before network is up ConnectionRetrySec=10 diff --git a/buildroot-external/rootfs-overlay/root/.ssh/authorized_keys b/buildroot-external/rootfs-overlay/root/.ssh/authorized_keys new file mode 100644 index 00000000000..f4e2999c263 --- /dev/null +++ b/buildroot-external/rootfs-overlay/root/.ssh/authorized_keys @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDTfoxkXKBmwLN23qzaCjDChdkn1+N+yh5nsUrYi5l4Y