* [PATCH] release/live: fix Makefile dependency being missing in Nix shell
@ 2025-12-06 14:18 Johannes Süllner
2025-12-06 17:37 ` Alyssa Ross
0 siblings, 1 reply; 4+ messages in thread
From: Johannes Süllner @ 2025-12-06 14:18 UTC (permalink / raw)
To: devel; +Cc: Johannes Süllner
In commit a6d872ae, a Btrfs userdata partition was added to the live VM
that can be startet with `make run`. The Makefile creates this partition
and therefor requires `btrfs-progs`.
---
release/live/shell.nix | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/release/live/shell.nix b/release/live/shell.nix
index e542793..a52c9b1 100644
--- a/release/live/shell.nix
+++ b/release/live/shell.nix
@@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2021-2024 Alyssa Ross <hi@alyssa.is>
import ../../lib/call-package.nix (
-{ callSpectrumPackage, config, stdenv, qemu_kvm }:
+{ callSpectrumPackage, config, stdenv, btrfs-progs, qemu_kvm }:
let
efi = callSpectrumPackage ../../host/efi.nix {};
@@ -11,7 +11,7 @@ in
(callSpectrumPackage ./. {}).overrideAttrs (
{ nativeBuildInputs ? [], env ? {}, ... }:
{
- nativeBuildInputs = nativeBuildInputs ++ [ qemu_kvm ];
+ nativeBuildInputs = nativeBuildInputs ++ [ btrfs-progs qemu_kvm ];
env = env // {
OVMF_CODE = "${qemu_kvm}/share/qemu/edk2-${stdenv.hostPlatform.qemuArch}-code.fd";
--
2.51.2
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] release/live: fix Makefile dependency being missing in Nix shell
2025-12-06 14:18 [PATCH] release/live: fix Makefile dependency being missing in Nix shell Johannes Süllner
@ 2025-12-06 17:37 ` Alyssa Ross
2025-12-06 18:30 ` [PATCH] release/live: fix a " Johannes Süllner
0 siblings, 1 reply; 4+ messages in thread
From: Alyssa Ross @ 2025-12-06 17:37 UTC (permalink / raw)
To: Johannes Süllner; +Cc: devel
[-- Attachment #1: Type: text/plain, Size: 664 bytes --]
Johannes Süllner <johannes.suellner@mailbox.org> writes:
> In commit a6d872ae, a Btrfs userdata partition was added to the live VM
> that can be startet with `make run`. The Makefile creates this partition
> and therefor requires `btrfs-progs`.
Thanks for the fix! It needs a Signed-off-by for me to be able to take
it. You can just include it in a reply this time if you want.
I also like to add a Fixes tag for this sort of thing, with the idea
that it's nice to collect the data about regressions about fixes.
Somebody will probably do some interesting analysis on them some day.
Fixes: a6d872a ("release/live: allow writes in "make run"")
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH] release/live: fix a Makefile dependency being missing in Nix shell
2025-12-06 17:37 ` Alyssa Ross
@ 2025-12-06 18:30 ` Johannes Süllner
2025-12-06 18:51 ` Alyssa Ross
0 siblings, 1 reply; 4+ messages in thread
From: Johannes Süllner @ 2025-12-06 18:30 UTC (permalink / raw)
To: devel; +Cc: Johannes Süllner
In commit a6d872ae, a Btrfs userdata partition was added to the live VM
that can be startet with `make run`. The Makefile creates this partition
and therefor requires `btrfs-progs`.
Fixes: a6d872a ("release/live: allow writes in "make run"")
Signed-off-by: Johannes Süllner <johannes.suellner@mailbox.org>
---
release/live/shell.nix | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/release/live/shell.nix b/release/live/shell.nix
index e542793..a52c9b1 100644
--- a/release/live/shell.nix
+++ b/release/live/shell.nix
@@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2021-2024 Alyssa Ross <hi@alyssa.is>
import ../../lib/call-package.nix (
-{ callSpectrumPackage, config, stdenv, qemu_kvm }:
+{ callSpectrumPackage, config, stdenv, btrfs-progs, qemu_kvm }:
let
efi = callSpectrumPackage ../../host/efi.nix {};
@@ -11,7 +11,7 @@ in
(callSpectrumPackage ./. {}).overrideAttrs (
{ nativeBuildInputs ? [], env ? {}, ... }:
{
- nativeBuildInputs = nativeBuildInputs ++ [ qemu_kvm ];
+ nativeBuildInputs = nativeBuildInputs ++ [ btrfs-progs qemu_kvm ];
env = env // {
OVMF_CODE = "${qemu_kvm}/share/qemu/edk2-${stdenv.hostPlatform.qemuArch}-code.fd";
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-12-06 18:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-06 14:18 [PATCH] release/live: fix Makefile dependency being missing in Nix shell Johannes Süllner
2025-12-06 17:37 ` Alyssa Ross
2025-12-06 18:30 ` [PATCH] release/live: fix a " Johannes Süllner
2025-12-06 18:51 ` Alyssa Ross
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).