K 10 svn:author V 6 emaste K 8 svn:date V 27 2018-03-28T17:19:04.327574Z K 7 svn:log V 765 MFC r326992: embed_mfs: support embedding mfs into loader The script originally supported embedding an mfs into ELF files or any other type of file, because it searched for magic strings to mark the beginning and end of the embeddable section. It was later modified to read the section offset and length via readelf, which made it work for ELF only. Restore the ability to update arbitrary file types by using the readelf technique for ELF, and the magic string technique for all others (including PE/COFF files like loader.efi). Submitted by: Zakary Nafziger MFC r327526: embed_mfs: correctly test grep return value Reported by: br MFC r327527: ath: revert accidental change committed with r327526 Sponsored by: The FreeBSD Foundation END