<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/installer/final.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-04-28T20:57:07Z</updated>
<entry>
<title>installer: User accounts can now have a "real name."</title>
<updated>2019-04-28T20:57:07Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-28T20:28:51Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=0e8e963d73e61c7666f9ec4efa98c1a277c72af9'/>
<id>urn:sha1:0e8e963d73e61c7666f9ec4efa98c1a277c72af9</id>
<content type='text'>
* gnu/installer/newt/user.scm (run-user-add-page): Add #:real-name.  Add
a label and entry for the real name and initialize the 'real-name' field
of the &lt;user&gt; record.
* gnu/installer/final.scm (create-user-database): Set the 'comment'
field of the &lt;user-account&gt; record.
</content>
</entry>
<entry>
<title>installer: Take 'guix system init' exit code into account.</title>
<updated>2019-04-26T12:19:36Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-26T11:56:22Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=9529f7850e3ae91cce70620e684fc6d0dc25e815'/>
<id>urn:sha1:9529f7850e3ae91cce70620e684fc6d0dc25e815</id>
<content type='text'>
This allows the installer to distinguish success from failure, and also
ensures the shell that runs 'guix system init' exits upon completion.

* gnu/installer/utils.scm (run-shell-command)[pause]: New procedure.
Add "exec" before COMMAND in the script.  Guard 'invoke' call and handle
'invoke-error?'.  Add call to 'pause' on completion.
* gnu/installer/final.scm (install-system): Remove 'false-if-exception'.
</content>
</entry>
<entry>
<title>installer: Ask for the root account password.</title>
<updated>2019-04-24T22:45:35Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-24T19:54:28Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=91a7c4998fe4f5a2a63f2ddb4bfeeef81c68b6d7'/>
<id>urn:sha1:91a7c4998fe4f5a2a63f2ddb4bfeeef81c68b6d7</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/35399&gt;.

* gnu/installer/newt/user.scm (run-root-password-page): New procedure.
* gnu/installer/user.scm (users-&gt;configuration): Filter out the "root"
account.
* gnu/installer/final.scm (create-user-database): Set 'uid' field in
'user-account' form.
</content>
</entry>
<entry>
<title>installer: Ask for user password and initialize /etc/shadow.</title>
<updated>2019-04-24T22:45:34Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-24T15:59:06Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=898677ed17672130d20434cd88575d620c97c553'/>
<id>urn:sha1:898677ed17672130d20434cd88575d620c97c553</id>
<content type='text'>
Partly fixes &lt;https://bugs.gnu.org/35399&gt;.

* gnu/installer/user.scm (&lt;user&gt;)[password]: New field.
* gnu/installer/final.scm (%seed): New variable.
(integer-&gt;alphanumeric-char, random-string)
(create-user-database): New procedures.
(install-system): Call 'create-user-database'.
* gnu/installer/newt/final.scm (run-install-shell): Add #:users and pass
it to 'install-system'.
(run-final-page): Pass #:users to 'run-install-shell'.
* gnu/installer/newt/user.scm (run-user-add-page): Add password entry.
Pass its result as the 'password' field of &lt;user&gt;.
</content>
</entry>
<entry>
<title>installer: Run 'guix system init' with the right locale.</title>
<updated>2019-04-22T22:34:47Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-04-22T22:08:54Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=7611074f677f1c3cfe5da426f387eeda1b6ad825'/>
<id>urn:sha1:7611074f677f1c3cfe5da426f387eeda1b6ad825</id>
<content type='text'>
* gnu/installer/utils.scm (run-shell-command): Add #:locale and honor it.
* gnu/installer/newt/final.scm (run-install-shell): Add 'locale'
parameter; pass it to 'install-system'.
(run-final-page): Obtain locale from RESULT; pass it to 'run-install-shell'.
* gnu/installer/final.scm (install-system): Add 'locale' parameter; pass
it to 'run-shell-command'.
</content>
</entry>
<entry>
<title>installer: Add configuration formatter.</title>
<updated>2019-01-17T13:04:22Z</updated>
<author>
<name>Mathieu Othacehe</name>
<email>m.othacehe@gmail.com</email>
</author>
<published>2018-12-05T05:30:16Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=dc5f3275ecbddc804875899e9e457299a835d7ab'/>
<id>urn:sha1:dc5f3275ecbddc804875899e9e457299a835d7ab</id>
<content type='text'>
* gnu/installer.scm (installer-steps): Add configuration-formatter procedures.
* gnu/installer/final.scm: New file.
* gnu/installer/locale.scm (locale-&gt;configuration): New exported procedure.
* gnu/installer/newt.scm (newt-installer): Add final page.
* gnu/installer/newt/final.scm: New file.
* gnu/installer/record.scm (installer): Add final-page field.
* gnu/installer/timezone.scm (posix-tz-&gt;configuration): New exported
procedure.
* gnu/installer/steps.scm (installer-step): Rename configuration-proc field to
configuration-formatter.
(%installer-configuration-file): New exported parameter,
(%installer-target-dir): ditto,
(%configuration-file-width): ditto,
(format-configuration): new exported procedure,
(configuration-&gt;file): new exported procedure.
</content>
</entry>
</feed>
