From 3ca4a0a3b3acb2ba1bdd5e8609ca5991e699084c Mon Sep 17 00:00:00 2001 From: hanzongcheng Date: Thu, 15 May 2025 19:18:17 +0800 Subject: [PATCH 1/2] tftp: add 5.2.0 * tftp-hpa is an enhanced version of the BSD TFTP client and server. Signed-off-by: hanzongcheng --- .oebuild/manifest.yaml | 3 +++ .../recipes-daemons/tftp-hpa/tftp-hpa_%.bbappend | 12 ++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 meta-openeuler/dynamic-layers/openembedded-layer/recipes-daemons/tftp-hpa/tftp-hpa_%.bbappend diff --git a/.oebuild/manifest.yaml b/.oebuild/manifest.yaml index 8ebd3276899..2f300b9492f 100644 --- a/.oebuild/manifest.yaml +++ b/.oebuild/manifest.yaml @@ -1749,6 +1749,9 @@ manifest_list: texinfo: remote_url: https://gitee.com/src-openeuler/texinfo.git version: 9ba2eb163228342de2725a2d5b01627cc74e3e42 + tftp: + remote_url: https://gitee.com/src-openeuler/tftp.git + version: 9e165341636a292d1e927e5c48ce588c3d28ff3b tiff: remote_url: https://gitee.com/src-openeuler/libtiff.git version: 297fdfe6f5060f5a466236e2749ac8a8dd40aca0 diff --git a/meta-openeuler/dynamic-layers/openembedded-layer/recipes-daemons/tftp-hpa/tftp-hpa_%.bbappend b/meta-openeuler/dynamic-layers/openembedded-layer/recipes-daemons/tftp-hpa/tftp-hpa_%.bbappend new file mode 100644 index 00000000000..a6fe1673659 --- /dev/null +++ b/meta-openeuler/dynamic-layers/openembedded-layer/recipes-daemons/tftp-hpa/tftp-hpa_%.bbappend @@ -0,0 +1,12 @@ +PV = "5.2" + +OPENEULER_LOCAL_NAME = "tftp" + +SRC_URI:prepend = "file://tftp-hpa-${PV}.tar.bz2 \ + file://tftp-doc.patch \ + file://tftp-enhanced-logging.patch \ + file://tftp-hpa-5.2-gcc10.patch \ + file://backport-Update-manpage-to-match-source-code-for-map-file.patch \ +" + +SRC_URI:remove = "file://0001-tftp-Mark-toplevel-definition-as-external.patch" -- Gitee From 21bad3816d674280f5d87b36a0a9b4e20846452a Mon Sep 17 00:00:00 2001 From: hanzongcheng Date: Thu, 15 May 2025 19:37:08 +0800 Subject: [PATCH 2/2] install-efi: add pxe install dependencies * Add dhcp-client and tftp to support pxe install. Signed-off-by: hanzongcheng --- .../initrdscripts/initramfs-module-install-efi_1.0.bbappend | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-openeuler/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bbappend b/meta-openeuler/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bbappend index f9e762fc621..a9d9c45b7b7 100644 --- a/meta-openeuler/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bbappend +++ b/meta-openeuler/recipes-core/initrdscripts/initramfs-module-install-efi_1.0.bbappend @@ -12,6 +12,9 @@ SERIAL_CONSOLES ?= "115200;ttyS0" RDEPENDS:${PN}:remove = "initramfs-framework-base" +# For pxe install +RDEPENDS:${PN}:append = " dhcp-client tftp-hpa" + do_install:append() { install -m 0755 ${WORKDIR}/init-install-efi-openeuler.sh ${D}/init.d/install-efi.sh -- Gitee