patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 69be0bab500ea2ea6cb3b6d71edbf1a3e7bddbba 689 bytes (raw)
name: vm/app/systemd-sysupdate/default.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
23
24
25
26
 
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2023 Alyssa Ross <hi@alyssa.is>
# SPDX-FileCopyrightText: 2025 Demi Marie Obenour <demiobenour@gmail.com>

import ../../../lib/call-package.nix (
{ callSpectrumPackage, curl, lib, src
, runCommand, systemd, writeScript
}:

let
  downloadUpdate = builtins.path {
    name = "download-update";
    path = ./download-update;
  };
in

callSpectrumPackage ../../make-vm.nix {} {
  providers.net = [ "sys.netvm" ];
  type = "nix";
  run = writeScript "run-script" ''
#!/usr/bin/env -S execlineb -WS0
export CURL_PATH ${curl}/bin/curl
export SYSTEMD_SYSUPDATE_PATH ${systemd}/lib/systemd/systemd-sysupdate
${downloadUpdate}
'';
}) (_: {})

debug log:

solving 69be0bab500ea2ea6cb3b6d71edbf1a3e7bddbba ...
found 69be0bab500ea2ea6cb3b6d71edbf1a3e7bddbba in https://inbox.spectrum-os.org/spectrum-devel/20251126-updates-v4-11-40c438d2dcaf@gmail.com/ ||
	https://inbox.spectrum-os.org/spectrum-devel/20251126-updates-v5-11-fd746748febd@gmail.com/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20251126-updates-v4-11-40c438d2dcaf@gmail.com/
diff --git a/vm/app/systemd-sysupdate/default.nix b/vm/app/systemd-sysupdate/default.nix
new file mode 100644
index 0000000000000000000000000000000000000000..69be0bab500ea2ea6cb3b6d71edbf1a3e7bddbba

Checking patch vm/app/systemd-sysupdate/default.nix...
Applied patch vm/app/systemd-sysupdate/default.nix cleanly.

skipping https://inbox.spectrum-os.org/spectrum-devel/20251126-updates-v5-11-fd746748febd@gmail.com/ for 69be0bab500ea2ea6cb3b6d71edbf1a3e7bddbba
index at:
100644 69be0bab500ea2ea6cb3b6d71edbf1a3e7bddbba	vm/app/systemd-sysupdate/default.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/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

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).