PandABlocks / PandABlocks-rootfs

Root filesystem build with tools for building zpg packages
Apache License 2.0
3 stars 5 forks source link

add rsa patch (compatibility for building with newer versions of openssl on host) #4

Closed blondejamtart closed 4 years ago

thomascobb commented 4 years ago

Where did you get the patch from, or did you write it yourself?

blondejamtart commented 4 years ago

Patch was copied from a similar commit in openwrt

Araneidae commented 4 years ago

Can you reference the source of the patch please?

blondejamtart commented 4 years ago

Patch copied from here: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=tools/mkimage/patches/210-openssl-1.1.x-compat.patch;h=fa7c99f39b0a65f0d784473ca9b8fde836e4fa6e;hb=70b104f98c0657323b28fce140b73a94bf3eb756

Araneidae commented 4 years ago

Ta. What you can do is drop the commit text for that patch:

tools: mkimage: fix build with OpenSSL 1.1.x (FS#182)

The OpenSSL 1.1.x version series undergone some major API changes which made
the RSA structure opaque and deprecated a number of methods, so add some
conditional compat code to make the u-boot source build again.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

directly into the top of the patch (patch helpfully ignores anything not prefixed with the appropriate preamble) and possibly have a concise version of the link in your commit message.

Araneidae commented 4 years ago

Splendid!

Do you want to rebase all your commits into a single commit?