GNU bug report logs - #51506
Add --quiet option to guix-install.sh

Previous Next

Package: guix;

Reported by: Jacob Hrbek <kreyren <at> rixotstudio.cz>

Date: Sat, 30 Oct 2021 10:18:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: zimoun <zimon.toutoune <at> gmail.com>
To: Jacob Hrbek <kreyren <at> rixotstudio.cz>
Cc: 51506 <at> debbugs.gnu.org
Subject: bug#51506: Add --quiet option to guix-install.sh
Date: Tue, 02 Nov 2021 11:39:13 +0100
Hi,

On Sat, 30 Oct 2021 at 02:45, Jacob Hrbek <kreyren <at> rixotstudio.cz> wrote:
> I can't cache the docker step to perform guix-install.sh, because it
> requires a user input which causes the `docker build -t guix:latest
> path/to/directory/with/Dockerfile` to ERR1.
>
> Proposing to add command line option `--quiet` for the installer to
> not ask

I think your proposal already exists.

> Relevant dockerfile:
>
> ```dockerfile
> #@ All rights reserved (C) Jacob Hrbek <rsa4096/0x31AE4020956E0A9A> in 30/10/2021-EU 01:22:40 UTC
> # TODO(Krey): Set as FLOSS once finished

[...]

> && chmod +x guix-install.sh \
> && sh guix-install.sh \

Replace this latter line by:

    yes | ./guix-install.sh

should do what you are asking, IIUC.

> && apt-get remove --yes \
> wget \
> gnupg \
> xz-utils \

[...]

> ```

Does it not work for you?


Cheers,
simon




This bug report was last modified 3 years and 201 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.