patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob ff067354881b480656fae9b339a0a9068475d85f 594 bytes (raw)
name: host/initramfs/shell.nix 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
 
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2021-2022, 2024 Alyssa Ross <hi@alyssa.is>

import ../../lib/call-package.nix (
{ callSpectrumPackage, rootfs, pkgsStatic, stdenv
, cryptsetup, jq, qemu_kvm, tar2ext4, util-linux
}:

let
  initramfs = callSpectrumPackage ./. {};
in

initramfs.overrideAttrs ({ nativeBuildInputs ? [], env ? {}, ... }: {
  nativeBuildInputs = nativeBuildInputs ++ [
    cryptsetup jq qemu_kvm tar2ext4 util-linux
  ];

  env = env // {
    KERNEL = "${rootfs.kernel}/${stdenv.hostPlatform.linux-kernel.target}";
    ROOT_FS_DIR = rootfs;
  };
})) (_: {})

debug log:

solving ff067354881b480656fae9b339a0a9068475d85f ...
found ff067354881b480656fae9b339a0a9068475d85f in https://inbox.spectrum-os.org/spectrum-devel/20251121-refactor-verity-v5-1-938fc95f9752@gmail.com/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20251119-refactor-verity-v4-1-9bc56d5216c0@gmail.com/
found 8b47aa53bc19a818ebf563e281f22e82202a8ea5 in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100644 8b47aa53bc19a818ebf563e281f22e82202a8ea5	host/initramfs/shell.nix

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20251121-refactor-verity-v5-1-938fc95f9752@gmail.com/
diff --git a/host/initramfs/shell.nix b/host/initramfs/shell.nix
index 8b47aa53bc19a818ebf563e281f22e82202a8ea5..ff067354881b480656fae9b339a0a9068475d85f 100644

Checking patch host/initramfs/shell.nix...
Applied patch host/initramfs/shell.nix cleanly.

skipping https://inbox.spectrum-os.org/spectrum-devel/20251119-refactor-verity-v4-1-9bc56d5216c0@gmail.com/ for ff067354881b480656fae9b339a0a9068475d85f
index at:
100644 ff067354881b480656fae9b339a0a9068475d85f	host/initramfs/shell.nix

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).