patches and low-level development discussion
 help / color / mirror / code / Atom feed
bfaaf176d947016062bc53499137dbd7112f8bc8 blob 680 bytes (raw)

 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
27
28
29
 
# SPDX-FileCopyrightText: 2021-2022 Alyssa Ross <hi@alyssa.is>
# SPDX-License-Identifier: MIT

{ config, runCommand, tar2ext4 }:

let
  netvm = import ../../vm/sys/net {
    inherit config;
    # inherit (foot) terminfo;
  };

  appvm-catgirl = import ../../vm/app/catgirl.nix { inherit config; };
  appvm-lynx = import ../../vm/app/lynx.nix { inherit config; };
in

runCommand "ext.ext4" {
  nativeBuildInputs = [ tar2ext4 ];
} ''
  mkdir svc

  tar -C ${netvm} -c data | tar -C svc -x
  chmod +w svc/data
  tar -C ${appvm-catgirl} -c data | tar -C svc -x
  chmod +w svc/data
  tar -C ${appvm-lynx} -c data | tar -C svc -x

  tar -cf ext.tar svc
  tar2ext4 -i ext.tar -o $out
''
debug log:

solving bfaaf17 ...
found bfaaf17 in https://spectrum-os.org/lists/archives/spectrum-devel/20220919073659.1703271-7-hi@alyssa.is/
found 63f436a in https://spectrum-os.org/git/spectrum
preparing index
index prepared:
100644 63f436a2528f721927bc0e9b8512ddfcd5cf0f40	host/initramfs/extfs.nix

applying [1/1] https://spectrum-os.org/lists/archives/spectrum-devel/20220919073659.1703271-7-hi@alyssa.is/
diff --git a/host/initramfs/extfs.nix b/host/initramfs/extfs.nix
index 63f436a..bfaaf17 100644

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

index at:
100644 bfaaf176d947016062bc53499137dbd7112f8bc8	host/initramfs/extfs.nix

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