Programs assume this and it's useful to have. --- pkgs/os-specific/linux/spectrum/rootfs/generic.nix | 2 +- pkgs/os-specific/linux/spectrum/rootfs/stage1.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/spectrum/rootfs/generic.nix b/pkgs/os-specific/linux/spectrum/rootfs/generic.nix index 778b18dafa0..0a99f99bd5b 100644 --- a/pkgs/os-specific/linux/spectrum/rootfs/generic.nix +++ b/pkgs/os-specific/linux/spectrum/rootfs/generic.nix @@ -31,7 +31,7 @@ let mkdir $out cd $out - mkdir bin sbin dev proc run tmp + mkdir bin sbin dev proc run sys tmp ln -s ${dash}/bin/dash bin/sh ln -s ${makeStage1 { inherit run; }} sbin/init cp -r ${./etc} etc diff --git a/pkgs/os-specific/linux/spectrum/rootfs/stage1.nix b/pkgs/os-specific/linux/spectrum/rootfs/stage1.nix index 75cfed56e7f..be7853316e9 100644 --- a/pkgs/os-specific/linux/spectrum/rootfs/stage1.nix +++ b/pkgs/os-specific/linux/spectrum/rootfs/stage1.nix @@ -27,6 +27,7 @@ writeScript "init-stage1" '' if { s6-mount -t devpts -o gid=4,mode=620 none /dev/pts } if { s6-mount -t tmpfs none /dev/shm } if { s6-mount -t proc none /proc } + if { s6-mount -t sysfs none /sys } if { s6-ln -s ${mesa.drivers} /run/opengl-driver } export HOME / -- 2.30.0
On Mon, Mar 15, 2021 at 01:55:40PM +0000, Alyssa Ross wrote:
Programs assume this and it's useful to have. --- pkgs/os-specific/linux/spectrum/rootfs/generic.nix | 2 +- pkgs/os-specific/linux/spectrum/rootfs/stage1.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
I already posted this patch too[1]. Oops. Although it could still use a review... [1]: https://spectrum-os.org/lists/archives/spectrum-devel/20200825164845.8850-1-...
On Mon Mar 15, 2021 at 7:53 AM PDT, Alyssa Ross wrote:
On Mon, Mar 15, 2021 at 01:55:40PM +0000, Alyssa Ross wrote:
Programs assume this and it's useful to have. --- pkgs/os-specific/linux/spectrum/rootfs/generic.nix | 2 +- pkgs/os-specific/linux/spectrum/rootfs/stage1.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
I already posted this patch too[1]. Oops.
Although it could still use a review...
[1]: https://spectrum-os.org/lists/archives/spectrum-devel/20200825164845.8850-1-...
Unable to find the old mail in my box, so I'll just send it here: Reviewed-by: Cole Helbling <cole.e.helbling@outlook.com>
On Mon, Mar 15, 2021 at 04:09:20PM -0700, Cole Helbling wrote:
On Mon Mar 15, 2021 at 7:53 AM PDT, Alyssa Ross wrote:
On Mon, Mar 15, 2021 at 01:55:40PM +0000, Alyssa Ross wrote:
Programs assume this and it's useful to have. --- pkgs/os-specific/linux/spectrum/rootfs/generic.nix | 2 +- pkgs/os-specific/linux/spectrum/rootfs/stage1.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
I already posted this patch too[1]. Oops.
Although it could still use a review...
[1]: https://spectrum-os.org/lists/archives/spectrum-devel/20200825164845.8850-1-...
Unable to find the old mail in my box, so I'll just send it here:
No problem. :)
Reviewed-by: Cole Helbling <cole.e.helbling@outlook.com>
Committed as 3eb1b848b6a. Thanks for the review! BTW, just in case you don't know this trick: When I can't find an email, I find the thread overview on public-inbox and download it with the "mbox.gz" button. Then I just need to gzip -d t.mbox.gz neomutt -f t.mbox and I'm looking at the thread. I assume aerc has a similar flag.
participants (2)
-
Alyssa Ross -
Cole Helbling