Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #832782

Bug#866869: initramfs-tools(8): please document that BOOT is exposed to boot scripts

From Guilhem Moulin <guilhem@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#866869: initramfs-tools(8): please document that BOOT is exposed to boot scripts
Date 2017-07-02 13:10 +0200
Message-ID <tYKVj-129-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: initramfs-tools
Version: 0.130
Severity: wishlist

Dear Maintainer,

While the BOOT environment variable (either set to "local" or "nfs") is
currently exposed to boot scripts, it's currently not documented in the
manpage.

Knowing the boot method can be useful at init-premount and init-bottom
stages.  For instance in the case of remote cryptroot unlocking using
ssh, bringing the network up is optional for local mounts; since it can
take quite a while (and failure after the 5min timeout isn't fatal) we'd
like to do that in the background so the user can meanwhile type in the
passphrase locally.

Please document the variable if boot scripts can rely on the value of
BOOT.  Otherwise, could you suggest an alternative to rolling out our
own logic?

Thanks,
Cheers,
-- 
Guilhem.

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#866869: initramfs-tools(8): please document that BOOT is exposed to boot scripts Guilhem Moulin <guilhem@debian.org> - 2017-07-02 13:10 +0200

csiph-web