summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuri Nesterov <yuriy.nesterov@unikie.com>2022-09-22 17:47:19 +0300
committerAlyssa Ross <alyssa.ross@unikie.com>2022-09-23 12:20:33 +0000
commit0ca216d4ff06caa2ff6416e247c68f1e968d14d4 (patch)
treec78957dbb075c681c61b8915c6e6719fcf80a1b6
parent0a52864a986adc8c21e9f970dd6c0da9777c48f7 (diff)
downloadspectrum-0ca216d4ff06caa2ff6416e247c68f1e968d14d4.tar
spectrum-0ca216d4ff06caa2ff6416e247c68f1e968d14d4.tar.gz
spectrum-0ca216d4ff06caa2ff6416e247c68f1e968d14d4.tar.bz2
spectrum-0ca216d4ff06caa2ff6416e247c68f1e968d14d4.tar.lz
spectrum-0ca216d4ff06caa2ff6416e247c68f1e968d14d4.tar.xz
spectrum-0ca216d4ff06caa2ff6416e247c68f1e968d14d4.tar.zst
spectrum-0ca216d4ff06caa2ff6416e247c68f1e968d14d4.zip
img/live: add rootfs attribute passthru
This allows to get access to rootfs and kernel from device images.

Signed-off-by: Yuri Nesterov <yuriy.nesterov@unikie.com>
Message-Id: <20220922144719.816016-1-yuriy.nesterov@unikie.com>
Tested-by: Ville Ilvonen <ville.ilvonen@unikie.com>
Reviewed-by: Alyssa Ross <alyssa.ross@unikie.com>
Signed-off-by: Alyssa Ross <alyssa.ross@unikie.com>
-rw-r--r--img/live/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/img/live/default.nix b/img/live/default.nix
index 65ad058..5461384 100644
--- a/img/live/default.nix
+++ b/img/live/default.nix
@@ -45,4 +45,6 @@ stdenvNoCC.mkDerivation {
   '';
 
   enableParallelBuilding = true;
+
+  passthru = { inherit rootfs; };
 }