Commit Graph

14 Commits

Author SHA1 Message Date
Boey Maun Suang
137b97e2f6 linuxkit: Sign binary with entitlements on Darwin
In order to use the Virtualization framework at runtime, a macOS binary
must be signed with the appropriate entitlement(s).  The default targets
in the linuxkit Makefiles would do this for us, but the current package
definition does not use those Makefiles, so we must call the right
target directly.
2023-05-22 10:37:16 +03:00
Boey Maun Suang
64faf2372d linuxkit: Fix Darwin runtime OS detection
The wrapper that linuxkit uses around the macOS Virtualization framework
tries to detect which OS it is running on, and aborts if it thinks that
the macOS version is not new enough to have the required framework
features.  This commit (mostly) fixes that macOS version detection when
the code is linked as if it is linked against the 10.12 SDK (as the
current Darwin ld wrapper does via the -platform_version switch), but is
then run on macOS 11 or later.
2023-02-15 20:24:20 +11:00
Boey Maun Suang
e1f44d6092 linuxkit: Fix building on Darwin
Nixpkgs on Darwin can currently build against either the macOS 10.12 or
the 11 SDK, but some vendored code in linuxkit expects at least the
macOS 12 SDK at build time, even though useful parts of that vendored
code still run on macOS 11, and the rest of linuxkit still runs on
10.12.  This commit enables building against the macOS 11 SDK.
2023-02-15 20:24:12 +11:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
R. Ryantm
bafe84ca62 linuxkit: 1.0.0 -> 1.0.1 2022-11-08 00:53:33 +00:00
Aaron Jheng
e76981c859
linuxkit: 0.8.0 -> 1.0.0 2022-10-14 01:55:40 +00:00
R. Ryantm
1383ef4376 linuxkit: 0.8 -> 1.0.0 2022-10-13 17:08:36 +00:00
zowoq
e6494966dd treewide: buildFlagsArray -> ldflags 2021-08-26 15:43:28 +10:00
Mario Rodas
67de12f991
linuxkit: use buildFlagsArray 2020-07-27 16:20:00 -05:00
R. RyanTM
405d540652 linuxkit: 0.7 -> 0.8 2020-07-27 19:30:08 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Nick Novitski
e65244ee56 linuxkit: 2017-07-08 -> 0.7 2019-07-25 21:32:20 -07:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Will Dietz
ceff05aa4f linuxkit: init at 2017-07-08 2017-07-08 09:25:01 -05:00