<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/build/linux-initrd.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2018-11-21T22:26:59Z</updated>
<entry>
<title>linux-initrd: 'expression-&gt;initrd' returns the complete file name.</title>
<updated>2018-11-21T22:26:59Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-11-21T15:19:09Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=d422cbb3d6a1cc7e4553a2335b113475a05d68ad'/>
<id>urn:sha1:d422cbb3d6a1cc7e4553a2335b113475a05d68ad</id>
<content type='text'>
Previously 'expression-&gt;initrd' would return the directory that contains
the 'initrd' file; now it returns the complete file name for that file.

* gnu/system/linux-initrd.scm (expression-&gt;initrd)[builder]: Change
output file name to "initrd.cpio.gz".  Tail-call 'file-append' to return
the complete file name.
* gnu/system.scm (operating-system-initrd-file): Remove 'file-append'
call.
* gnu/build/linux-initrd.scm (write-cpio-archive): Check whether OUTPUT
already has the ".gz" suffix; rename if before invoking GZIP if it does,
and otherwise after.
* gnu/system/vm.scm (expression-&gt;derivation-in-linux-vm)[builder]: Do
not append "/initrd" to #$initrd.
</content>
</entry>
<entry>
<title>linux-initrd: Make sure 'build-initrd' can delete files.</title>
<updated>2018-11-07T15:06:42Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-11-07T14:51:38Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=970c9993f124789cb181f399d4981cdcf5d3fc26'/>
<id>urn:sha1:970c9993f124789cb181f399d4981cdcf5d3fc26</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/33297&gt;.
Reported by Mark H Weaver &lt;mhw@netris.org&gt;.

This fixes a regression introduced in
72dc64f8f720268930eed448abfc15d2a0eca3cf, which made files read-only.

* gnu/build/linux-initrd.scm (build-initrd): Call 'make-file-writable'
on all the files under contents/.
</content>
</entry>
<entry>
<title>linux-initrd: Compress cpio archives deterministically.</title>
<updated>2015-09-09T21:27:10Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-09-09T21:01:51Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=0334ef2ab06952df5c6a7582781d16d807e09ea7'/>
<id>urn:sha1:0334ef2ab06952df5c6a7582781d16d807e09ea7</id>
<content type='text'>
* gnu/build/linux-initrd.scm (write-cpio-archive): Use '--no-name'.
</content>
</entry>
<entry>
<title>linux-initrd: Produce cpio archives with zeroed timestamps, etc.</title>
<updated>2015-06-24T16:05:03Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-06-24T16:02:15Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=eae5b3fff54e6f0a38d03d01187142accbed1eb8'/>
<id>urn:sha1:eae5b3fff54e6f0a38d03d01187142accbed1eb8</id>
<content type='text'>
* guix/cpio.scm (file-&gt;cpio-header*): New procedure.
* gnu/build/linux-initrd.scm (write-cpio-archive): Add #:file-&gt;header argument
  to 'cpio:write-cpio-archive'.
</content>
</entry>
<entry>
<title>linux-initrd: Populate cpio archives in a deterministic order.</title>
<updated>2015-06-24T16:05:03Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-06-24T15:48:02Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=583323ca1d1af5462f1b45f4be50f96bc8f1e46b'/>
<id>urn:sha1:583323ca1d1af5462f1b45f4be50f96bc8f1e46b</id>
<content type='text'>
* gnu/build/linux-initrd.scm (write-cpio-archive)[files]: Use 'sort' instead
  of 'reverse'.
</content>
</entry>
<entry>
<title>linux-initrd: Use (guix cpio) instead of GNU cpio.</title>
<updated>2015-06-24T16:05:03Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-06-24T15:41:43Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=e8277f90c88be9d65b948c299620fd9d6d9b28ae'/>
<id>urn:sha1:e8277f90c88be9d65b948c299620fd9d6d9b28ae</id>
<content type='text'>
* gnu/build/linux-initrd.scm (write-cpio-archive): Remove 'open-pipe*' and
  related calls.  Compute list of files in 'files' variable.  Use
  'cpio:write-cpio-archive'.  Remove #:cpio parameter.
  (build-initrd): Remove #:cpio parameter.
* gnu/system/linux-initrd.scm (expression-&gt;initrd): Likewise, and adjust
  BUILDER accordingly.  Add (guix cpio) to #:modules.
</content>
</entry>
<entry>
<title>linux-initrd: Store Linux modules in a normal store directory.</title>
<updated>2014-09-08T21:47:29Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-09-08T21:46:48Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=42d10464bedb43a9211d8bc187e668fe33272368'/>
<id>urn:sha1:42d10464bedb43a9211d8bc187e668fe33272368</id>
<content type='text'>
* gnu/system/linux-initrd.scm (expression-&gt;initrd): Remove #:linux and
  #:linux-modules parameters.  Remove call to
  'float-linux-module-directory'.
  (base-initrd): Add call to 'float-linux-module-directory'.  Use it in
  #:linux-modules argument in the gexp.  Remove #:linux and
  #:linux-modules arguments to 'expression-&gt;initrd'.
* gnu/build/linux-initrd.scm (build-initrd): Remove
  #:linux-module-directory parameter.  Don't create 'modules'
  sub-directory.
* gnu/build/linux-boot.scm (boot-system): Mentin that LINUX-MODULES is a
  list of absolute file names.  Don't prepend "/modules/" to
  LINUX-MODULES.
* doc/guix.texi (Initial RAM Disk): Adjust accordingly.
</content>
</entry>
<entry>
<title>linux-initrd: Move initrd creation code to (guix build linux-initrd).</title>
<updated>2014-09-08T21:47:28Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-09-08T21:20:34Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=1621cf97aa0b0e19a53366479abe19f602f5f9da'/>
<id>urn:sha1:1621cf97aa0b0e19a53366479abe19f602f5f9da</id>
<content type='text'>
* gnu/build/linux-initrd.scm (cache-compiled-file-name,
  compile-to-cache, build-initrd): New procedures.
* gnu/system/linux-initrd.scm (expression-&gt;initrd)[builder]: Remove code
  now moved above.  Use 'build-initrd'.
</content>
</entry>
<entry>
<title>linux-initrd: Build cpio archives without '--no-absolute-filenames'.</title>
<updated>2014-09-07T22:03:38Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-09-07T20:57:57Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=84da4ad4b073e472f1fff747a9fb1952f55e05f9'/>
<id>urn:sha1:84da4ad4b073e472f1fff747a9fb1952f55e05f9</id>
<content type='text'>
* gnu/build/linux-initrd.scm (write-cpio-archive): Remove
  '--no-absolute-filenames'.
</content>
</entry>
<entry>
<title>linux-initrd: Factorize cpio archive creation.</title>
<updated>2014-09-03T13:43:07Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2014-09-03T13:13:44Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=fbb3555809966ee2dacfe16451fba0b963d1cdc0'/>
<id>urn:sha1:fbb3555809966ee2dacfe16451fba0b963d1cdc0</id>
<content type='text'>
* gnu/build/linux-initrd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/system/linux-initrd.scm (expression-&gt;initrd): Use (gnu build
  linux-initrd) and 'write-cpio-archive' instead of the inlined code.
</content>
</entry>
</feed>
