[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guix on the MNT Reform
From: |
Fredrik Salomonsson |
Subject: |
Re: Guix on the MNT Reform |
Date: |
Tue, 07 Sep 2021 01:13:51 +0000 |
Fredrik Salomonsson <plattfot@posteo.net> writes:
> I'm building the image with:
> #+begin_src shell
> guix environment guix
> ./pre-inst-env guix system image --image-type=mnt-reform2-raw config.scm
> #+end_src
>
> I tried with the =linux-libre-arm64-generic= first but that couldn't
> find the =sdhci-esdhc-imx= module. And now when I'm testing with just
> the linux-libre kernel I'm running out of space on my =/tmp=. Is there
> an easy way of telling the guix-daemon to use another path for building?
> Or do I need to restart it and change its =TMPDIR=?
Just to follow up, I got a bit further by changing the =TMPDIR= to a
directory in my home directory. I'm using guix on a foreign distro so I
just did a quick edit on the systemd service file:
#+begin_src shell
mkdir /home/plattfot/scratch
sudo systemctl stop guix-daemon.service
sudo systemctl edit guix-daemon.service
#+end_src
#+begin_src conf
[Service]
Environment=TMPDIR=/home/plattfot/scratch
#+end_src
#+begin_src shell
sudo systemctl start guix-daemon.service
#+end_src
It now fails when building the info-dir
#+begin_src shell
building directory of Info manuals...
builder for `/gnu/store/qv4mh2hvryj33qyi0cw4nzbgy1l17xv6-info-dir.drv' failed
with exit code 1
build of /gnu/store/qv4mh2hvryj33qyi0cw4nzbgy1l17xv6-info-dir.drv failed
View build log at
'/var/log/guix/drvs/qv/4mh2hvryj33qyi0cw4nzbgy1l17xv6-info-dir.drv.bz2'.
cannot build derivation
`/gnu/store/g1lqn7h5baxq8grv2k2kjrjdvkpxlzn7-profile.drv': 1 dependencies
couldn't be built
cannot build derivation
`/gnu/store/wybzgz18szsrnk5rayyxgh3hvsqrg6mg-system.drv': 1 dependencies
couldn't be built
cannot build derivation
`/gnu/store/kp5086frygpvfmlyb2wa78shgciwvd4p-partition.img.drv': 1 dependencies
couldn't be built
cannot build derivation
`/gnu/store/3g9fqz36rw1pqzdh35ds3vnpgidqk40y-genimage.cfg.drv': 1 dependencies
couldn't be built
cannot build derivation
`/gnu/store/gazkm0vdj2i6iw7i0r8d1hlr02aqglpm-disk-image.drv': 1 dependencies
couldn't be built
guix system: error: build of
`/gnu/store/gazkm0vdj2i6iw7i0r8d1hlr02aqglpm-disk-image.drv' failed
#+end_src
The build log is empty, so I'm not sure what went wrong.
Sadly that's all the time I have for this today. I'll see if I can find
some time during the rest of week, otherwise I'll continue on the
weekend.
NOTE: to undo the changes on the service file you can simply run:
#+begin_src shell
sudo systemctl revert guix-daemon.service
#+end_src
--
s/Fred[re]+i[ck]+/Fredrik/g
Re: Guix on the MNT Reform, Denis 'GNUtoo' Carikli, 2021/09/07
- Re: Guix on the MNT Reform, Christine Lemmer-Webber, 2021/09/07
- Re: Guix on the MNT Reform, Denis 'GNUtoo' Carikli, 2021/09/07
- Re: Guix on the MNT Reform, Christine Lemmer-Webber, 2021/09/08
- Re: Guix on the MNT Reform, Vagrant Cascadian, 2021/09/08
- Re: Guix on the MNT Reform, Christine Lemmer-Webber, 2021/09/08
- Re: Guix on the MNT Reform, Denis 'GNUtoo' Carikli, 2021/09/09
- Re: Guix on the MNT Reform, Christine Lemmer-Webber, 2021/09/08