[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

brltty: Support for startup in initramfs



Hi.

Debian Installer allows you to configure your system with an
encrypted root partition.  This usually means you are prompted
for the passphrase during initramfs, way before brltty is started
by its initscript.

To be able to see the prompt during boot, we need to make it
possible to start brltty during initramfs execution (in particular,
before cryptroot is executed).

http://git.debian.org/?p=pkg-a11y/brltty.git;a=commit;h=f867c63e10d31c5df120e5aa96d24edfdd6afc0a
is my first stab at making this possible.

By default, brltty will only start at initscript time.

If you set START_IN_INITRAMFS in /etc/default/brltty to "true"
and execute "update-initramfs -u" a new initrd will be generated
with brltty included.  Once you boot with this initrd, brltty
will be started during initramfs, and once the initscript
is reached, brltty will be restarted (a necessity I haven't found a
workaround for yet).

This makes the passphrase prompt (and possibly other prompts)
during initramfs execution accessible to braille users.

If you can, please give it a try or at least review the general idea.

I will probably do an upload with this new code included in the next few days.

-- 
CYa,
  ⡍⠁⠗⠊⠕ | Debian Developer <URL:http://debian.org/>
  .''`. | Get my public key via finger mlang/key@db.debian.org
 : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44
 `. `'
   `-      <URL:http://delysid.org/>  <URL:http://www.staff.tugraz.at/mlang/>


Reply to: