From 8f55042aa188df482eeb534f6593445312b2d236 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 22 Jan 2024 16:46:37 +0100 Subject: [PATCH] configs: experimental ntpd container [amd64, arm64] Signed-off-by: Joachim Wiberg --- .github/workflows/build.yml | 2 +- configs/curios-ntpd_amd64_defconfig | 30 ++++++++++++++++++++++++++++ configs/curios-ntpd_arm64_defconfig | 31 +++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 configs/curios-ntpd_amd64_defconfig create mode 100644 configs/curios-ntpd_arm64_defconfig diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index daab84e..e673f37 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: packages: write strategy: matrix: - app: [curios] + app: [curios, curios-ntpd] uses: ./.github/workflows/build-push.yml with: app: ${{ matrix.app }} diff --git a/configs/curios-ntpd_amd64_defconfig b/configs/curios-ntpd_amd64_defconfig new file mode 100644 index 0000000..59a365d --- /dev/null +++ b/configs/curios-ntpd_amd64_defconfig @@ -0,0 +1,30 @@ +BR2_x86_64=y +BR2_TOOLCHAIN_EXTERNAL=y +BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_UCLIBC_STABLE=y +BR2_DL_DIR="${BR2_EXTERNAL_CURIOS_PATH}/dl" +BR2_CCACHE=y +BR2_CCACHE_DIR="${BR2_EXTERNAL_CURIOS_PATH}/.ccache" +BR2_TARGET_GENERIC_HOSTNAME="curiOS" +BR2_TARGET_GENERIC_ISSUE="Welcome to curiOS" +BR2_TARGET_GENERIC_ROOT_PASSWD="secret" +BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_CURIOS_PATH)/board/container/rootfs" +BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_CURIOS_PATH)/board/container/post-build.sh" +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_NETOPEER2=y +BR2_PACKAGE_NETOPEER2_CLI=y +# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set +BR2_PACKAGE_NTP=y +BR2_PACKAGE_NTP_SNTP=y +BR2_PACKAGE_NTP_NTP_KEYGEN=y +BR2_PACKAGE_NTP_NTPD_ATOM_PPS=y +BR2_PACKAGE_NTP_NTPDC=y +BR2_PACKAGE_NTP_NTPQ=y +BR2_PACKAGE_NTP_NTPTIME=y +BR2_PACKAGE_NTP_TICKADJ=y +# BR2_PACKAGE_URANDOM_SCRIPTS is not set +BR2_TARGET_ROOTFS_OCI=y +BR2_TARGET_ROOTFS_OCI_AUTHOR="curiOS" +BR2_TARGET_ROOTFS_OCI_TAG="edge" +BR2_TARGET_ROOTFS_OCI_ENTRYPOINT="/sbin/init" +BR2_TARGET_ROOTFS_OCI_PORTS="22/tcp 161/tcp 161/udp" +BR2_TARGET_ROOTFS_OCI_LABELS=".url=https://github.com/kernelkit/curiOS .title=curiOS" diff --git a/configs/curios-ntpd_arm64_defconfig b/configs/curios-ntpd_arm64_defconfig new file mode 100644 index 0000000..e369e74 --- /dev/null +++ b/configs/curios-ntpd_arm64_defconfig @@ -0,0 +1,31 @@ +BR2_aarch64=y +BR2_TOOLCHAIN_EXTERNAL=y +BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y +BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_STABLE=y +BR2_DL_DIR="${BR2_EXTERNAL_CURIOS_PATH}/dl" +BR2_CCACHE=y +BR2_CCACHE_DIR="${BR2_EXTERNAL_CURIOS_PATH}/.ccache" +BR2_TARGET_GENERIC_HOSTNAME="curiOS" +BR2_TARGET_GENERIC_ISSUE="Welcome to curiOS" +BR2_TARGET_GENERIC_ROOT_PASSWD="secret" +BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_CURIOS_PATH)/board/container/rootfs" +BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_CURIOS_PATH)/board/container/post-build.sh" +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_NETOPEER2=y +BR2_PACKAGE_NETOPEER2_CLI=y +# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set +BR2_PACKAGE_NTP=y +BR2_PACKAGE_NTP_SNTP=y +BR2_PACKAGE_NTP_NTP_KEYGEN=y +BR2_PACKAGE_NTP_NTPD_ATOM_PPS=y +BR2_PACKAGE_NTP_NTPDC=y +BR2_PACKAGE_NTP_NTPQ=y +BR2_PACKAGE_NTP_NTPTIME=y +BR2_PACKAGE_NTP_TICKADJ=y +# BR2_PACKAGE_URANDOM_SCRIPTS is not set +BR2_TARGET_ROOTFS_OCI=y +BR2_TARGET_ROOTFS_OCI_AUTHOR="curiOS" +BR2_TARGET_ROOTFS_OCI_TAG="edge" +BR2_TARGET_ROOTFS_OCI_ENTRYPOINT="/sbin/init" +BR2_TARGET_ROOTFS_OCI_PORTS="22/tcp 161/tcp 161/udp" +BR2_TARGET_ROOTFS_OCI_LABELS=".url=https://github.com/kernelkit/curiOS .title=curiOS"