logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

update-tirfs - generate a tiny-initramfs image

Authors

       Christian Seiler <christian@iwakd.de>

                                                    Jan 2016                                     UPDATE-TIRFS(8)

Configuration

       If present, the configuration file /etc/tiny-initramfs/tiny-initramfs.conf can  modify  the  behavior  of
       mktirfs(8)  in  how  the initramfs image is constructed. Please refer to the documentation of the mktirfs
       utility for details.

Debian Maintainer Scripts

       Please do not call this utility from Debian maintainer scripts. Use the update-initramfs trigger instead,
       as that will not depend on the initramfs implementation.

Description

       The update-tirfs script generates initramfs images that contains the tiny-initramfs init binary and place
       them  in  the  standard Debian location so that the boot loader may find them. It will call mktirfs(8) to
       create the actual image. When called, all initramfs images in /boot for matching kernel versions will  be
       replaced.

       Please  read /usr/share/doc/tiny-initramfs-core/README.md for an overview of the use cases tiny-initramfs
       was designed for and the features it supports.

Example

       Update all initramfs images:

               update-tirfs

       Update the initramfs image for a specific kernel version:

               update-tirfs -k 4.2.0

Files

       /etc/tiny-initramfs/tiny-initramfs.conf
              If present, values in there will be used as defaults for the command line arguments of mktirfs.

       /usr/share/doc/tiny-initramfs-core/tiny-initramfs.conf.example
              An example configuration file that may be copied to the above location.

Name

       update-tirfs - generate a tiny-initramfs image

Options

-k, --kernel-version=kernel-version
              Which kernel version to generate the initramfs image for. By default, the  special  value  all  is
              assumed,  which  indicates that the initramfs image should be regenerated for all installed kernel
              versions.

See Also

mktirfs(8)

Synopsis

update-tirfs [-k kernel-version]

See Also