github.com/coreos/rocket@v1.30.1-0.20200224141603-171c416fac02/Documentation/dependencies.md (about)

     1  # Dependencies
     2  
     3  For the most part the codebase is self-contained (e.g. all dependencies are vendored), but assembly of the stage1 requires some other tools to be installed on the system.
     4  
     5  ## Build-time dependencies
     6  
     7  ### Basic
     8  
     9  * GNU Make
    10  * Go 1.5.3 or later
    11  * autoconf
    12  * aclocal (usually a part of automake)
    13  * bash
    14  * git
    15  * glibc
    16    * development headers
    17    * the rkt binary links against the library
    18  * gofmt (usually distributed with Go)
    19  * govet (usually distributed with Go)
    20  * TrouSerS (only when TPM is enabled, see [build configuration][build-configure] for details)
    21    * development headers
    22    * the rkt binary links against the library
    23  * libsystemd-journal
    24    * development headers
    25  * gpg (when running functional tests)
    26  
    27  ### Additional dependencies when building any stage1 image
    28  
    29  * glibc
    30    * development headers
    31    * the stage1 binaries link against the static library
    32  * libdl
    33    * development headers
    34    * the stage1 binaries link against the library
    35  * libacl
    36    * development headers
    37  * C compiler
    38  
    39  ### Specific dependencies for the coreos/kvm flavor
    40  
    41  * cat
    42  * comm
    43  * cpio
    44  * gzip
    45  * md5sum
    46  * mktemp
    47  * sort
    48  * unsquashfs
    49  * wget
    50  * gpg (optional, required when downloading the CoreOS Container Linux PXE image during the build)
    51  
    52  ### Specific dependencies for the kvm flavor
    53  
    54  * patch
    55  * tar
    56  * xz
    57  * [build dependencies for kernel][kernel-build-deps]
    58    * bc
    59    * binutils
    60    * openssl
    61  * build dependencies for lkvm and/or qemu
    62  
    63  ### Specific dependencies for the src flavor
    64  
    65  * build dependencies for systemd
    66  
    67  ## Run-time dependencies
    68  
    69  * Linux 3.18+ (ideally 4.9+ to avoid the issues listed in the [troubleshooting document](troubleshooting.md)), with the following options configured:
    70    * CONFIG_CGROUPS
    71    * CONFIG_NAMESPACES
    72    * CONFIG_UTS_NS
    73    * CONFIG_IPC_NS
    74    * CONFIG_PID_NS
    75    * CONFIG_NET_NS
    76    * CONFIG_OVERLAY_FS (nice to have)
    77  
    78  ### Additional run-time dependencies for all stage1 image flavors
    79  
    80  * libacl
    81    * the library is optional (it is dlopened inside the stage1)
    82  
    83  ### Specific dependencies for the host flavor
    84  
    85  * bash
    86  * systemd >= v222
    87    * systemctl
    88    * systemd-shutdown
    89    * systemd
    90    * systemd-journald
    91  
    92  [kernel-build-deps]: https://www.kernel.org/doc/Documentation/Changes
    93  [build-configure]: build-configure.md#--enable-tpm