bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51506: Add --quiet option to guix-install.sh


From: zimoun
Subject: bug#51506: Add --quiet option to guix-install.sh
Date: Tue, 02 Nov 2021 11:39:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi,

On Sat, 30 Oct 2021 at 02:45, Jacob Hrbek <kreyren@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]