From: Ville Ilvonen <ville.ilvonen@unikie.com>
To: Yuri Nesterov <yuriy.nesterov@unikie.com>, devel@spectrum-os.org
Subject: Re: [PATCH] img/live: add rootfs attribute passthru
Date: Fri, 23 Sep 2022 10:51:17 +0300 [thread overview]
Message-ID: <7883c598-446a-c78d-8e80-2b1fe88ff2fb@unikie.com> (raw)
In-Reply-To: <20220922144719.816016-1-yuriy.nesterov@unikie.com>
On 9/22/22 17:47, Yuri Nesterov wrote:
> This allows to get access to rootfs and kernel from device images.
>
> Signed-off-by: Yuri Nesterov <yuriy.nesterov@unikie.com>
> ---
> img/live/default.nix | 2 ++
> 1 file changed, 2 insertions(+)
>
> 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; };
> }
Thanks, fixes the issue and takes us to the next issue before
out-of-tree build reference configs with imx8 variants are supported.
~/out-of-tree-build
❯ nix-build spectrum-config-imx8/imx8qxp/ -I nixpkgs=nixpkgs-spectrum/
this derivation will be built:
/nix/store/0xgldphzh2kjgckd13k3azarzvkdqqvs-spectrum-live-imx8qxp.img-0.1.drv
building
'/nix/store/0xgldphzh2kjgckd13k3azarzvkdqqvs-spectrum-live-imx8qxp.img-0.1.drv'...
/nix/store/nlzy51mvniqk080jlszm37j0hzi6m9rv-stdenv-linux/setup: line
1340: spectrum: command not found
Tested-by: Ville Ilvonen <ville.ilvonen@unikie.com>
-Ville
next prev parent reply other threads:[~2022-09-23 7:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-22 14:47 Yuri Nesterov
2022-09-23 7:51 ` Ville Ilvonen [this message]
2022-09-23 10:10 ` Ivan Nikolaenko
2022-09-23 12:26 ` Ville Ilvonen
2022-09-23 12:16 ` Alyssa Ross
2022-09-23 12:20 ` Alyssa Ross
2022-09-23 12:21 ` Alyssa Ross
2022-09-23 12:33 ` Alyssa Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7883c598-446a-c78d-8e80-2b1fe88ff2fb@unikie.com \
--to=ville.ilvonen@unikie.com \
--cc=devel@spectrum-os.org \
--cc=yuriy.nesterov@unikie.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).