I have tried to recompile `systemd` source V219 but I don not really understand how to compile it correctly. So I test on Fedora31(5.3.7-301.fc31.x86_64), compile `systemd` V243 and replace the executable binary in initramfs-$(uname -r).img with the compiled systemd-cryptsetup file. But it does not work.
and I execute `file new_systemd-cryptsetup` and execute `file old_systemd-cryptsetup`, I got some difference between them.
# file systemd-cryptsetup
> systemd-cryptsetup: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=9935897aeaf65a746e86f8af2c2a960c4a316acc, for GNU/Linux 3.2.0, with debug_info, not stripped
> systemd-cryptsetup: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=9935897aeaf65a746e86f8af2c2a960c4a316acc, for GNU/Linux 3.2.0, with debug_info, not stripped
# file systemd-cryptsetup.bak
> systemd-cryptsetup.bak: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=fe13d068d10950b02945537972a4f5b687f41cc0, for GNU/Linux 3.2.0, stripped
I'm dying to know how to compile correctly, thank you very much.
_______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel