init: Move epkg.entitlements to assets/macos/ and codesign downloaded binary Problem/Purpose: - epkg.entitlements was in target/ directory which is build output - downloaded epkg binary during self install needs codesign for libkrun Solution: - Move epkg.entitlements to assets/macos/ for proper versioning - Add codesign_with_entitlements() function in init.rs - Call codesign after setup_epkg_src() installs assets to self env - Sign both epkg and epkg-linux binaries on macOS Files: - assets/macos/epkg.entitlements (new): hypervisor entitlements file - bin/make.sh: update entitlements path to assets/macos/ - src/init.rs: add codesign logic in setup_common_binaries() Signed-off-by: Wu Fengguang <wfg@mail.ustc.edu.cn> |