diff options
| author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2020-08-19 10:44:27 +0200 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-06-30 14:43:36 -0400 |
| commit | 364db4fdf664d7987693a6935b76f34258041865 (patch) | |
| tree | bb3a06b7f656fe0efb3aa418fde86ba7259fe855 /doc | |
| parent | b7d70aeb0b5fd595bcbb59b61e513f1291f45575 (diff) | |
doc: Add a note and warning regarding the usage of deb packs.
* doc/guix.texi (Invoking guix pack): Move to the end of the table, and add a
note and warning regarding the usage of deb packs.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index e39e4eb7be4..86816450210 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -6028,11 +6028,6 @@ This produces a SquashFS image containing all the specified binaries and | |||
| 6028 | symlinks, as well as empty mount points for virtual file systems like | 6028 | symlinks, as well as empty mount points for virtual file systems like |
| 6029 | procfs. | 6029 | procfs. |
| 6030 | 6030 | ||
| 6031 | @item deb | ||
| 6032 | This produces a Debian archive (a package with the @samp{.deb} file | ||
| 6033 | extension) containing all the specified binaries and symbolic links, | ||
| 6034 | that can be installed on top of any dpkg-based GNU/Linux distribution. | ||
| 6035 | |||
| 6036 | @quotation Note | 6031 | @quotation Note |
| 6037 | Singularity @emph{requires} you to provide @file{/bin/sh} in the image. | 6032 | Singularity @emph{requires} you to provide @file{/bin/sh} in the image. |
| 6038 | For that reason, @command{guix pack -f squashfs} always implies @code{-S | 6033 | For that reason, @command{guix pack -f squashfs} always implies @code{-S |
| @@ -6047,6 +6042,27 @@ If you forget the @code{bash} (or similar) package, @command{singularity | |||
| 6047 | run} and @command{singularity exec} will fail with an unhelpful ``no | 6042 | run} and @command{singularity exec} will fail with an unhelpful ``no |
| 6048 | such file or directory'' message. | 6043 | such file or directory'' message. |
| 6049 | @end quotation | 6044 | @end quotation |
| 6045 | |||
| 6046 | @item deb | ||
| 6047 | This produces a Debian archive (a package with the @samp{.deb} file | ||
| 6048 | extension) containing all the specified binaries and symbolic links, | ||
| 6049 | that can be installed on top of any dpkg-based GNU(/Linux) distribution. | ||
| 6050 | |||
| 6051 | @quotation Note | ||
| 6052 | Because archives produced with @command{guix pack} contain a collection | ||
| 6053 | of store items and because each @command{dpkg} package must not have | ||
| 6054 | conflicting files, in practice that means you likely won't be able to | ||
| 6055 | install more than one such archive on a given system. | ||
| 6056 | @end quotation | ||
| 6057 | |||
| 6058 | @quotation Warning | ||
| 6059 | @command{dpkg} will assume ownership of any files contained in the pack | ||
| 6060 | that it does @emph{not} know about. It is unwise to install | ||
| 6061 | Guix-produced @samp{.deb} files on a system where @file{/gnu/store} is | ||
| 6062 | shared by other software, such as a Guix installation or other, non-deb | ||
| 6063 | packs. | ||
| 6064 | @end quotation | ||
| 6065 | |||
| 6050 | @end table | 6066 | @end table |
| 6051 | 6067 | ||
| 6052 | @cindex relocatable binaries | 6068 | @cindex relocatable binaries |
