Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #907448
| From | Pascal Vibet - ADACIS <pvibet@gmail.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth |
| Date | 2018-07-12 20:00 +0200 |
| Message-ID | <waO2J-2GP-9@gated-at.bofh.it> (permalink) |
| References | <waJw6-fD-21@gated-at.bofh.it> <waKit-v1-7@gated-at.bofh.it> <waJw6-fD-21@gated-at.bofh.it> <waKit-v1-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi, Le 12/07/2018 à 15:48, Guilhem Moulin a écrit : > Why only in cryptopensc and not in cryptroot? Also /usr/bin/setleds > comes from the ‘kbd’ package which cryptsetup-initramfs doesn't depend > on (it's only a Recommends, not a hard Depends), so `copy_exec` needs to > wrapped to check for the program's existence. Because i don't test with cryptroot. For package depends or Recommends, the /usr/share/initramfs-tools/hooks/cryptopensc script need 'dpkg-architecture' program to work and it is in 'dpkg-dev' package||. But you are right, 'setleds' is not the goods choice to keep numlock state. I will search a better program. Regards Le 12/07/2018 à 15:48, Guilhem Moulin a écrit : > Control: severity -1 minor > > Hi, > > On Thu, 12 Jul 2018 at 15:02:20 +0200, Pascal Vibet - ADACIS wrote: >> So, i apply modifications like this: >> in /usr/share/initramfs-tools/hooks/cryptopensc: >> […] >> in /usr/share/initramfs-tools/scripts/local-top/cryptopensc: > Why only in cryptopensc and not in cryptroot? Also /usr/bin/setleds > comes from the ‘kbd’ package which cryptsetup-initramfs doesn't depend > on (it's only a Recommends, not a hard Depends), so `copy_exec` needs to > wrapped to check for the program's existence. > >>> INITTY=/dev/tty[1-8] >>> for tty in $INITTY ; do >>> setleds -D +num < $tty >>> done > Does that really *preserve* the numlock state? I'm not familiar with > setleds(1), but according to the manpage it *sets* numlock and changes > the default settings. > > Cheers,
Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth Pascal Vibet - ADACIS <pvibet@gmail.com> - 2018-07-12 15:10 +0200
Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth Guilhem Moulin <guilhem@debian.org> - 2018-07-12 16:00 +0200
Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth Pascal Vibet - ADACIS <pvibet@gmail.com> - 2018-07-12 20:00 +0200
Bug#903641: initramfs-tools-core: 'keymap' scripts don't preserve numlock state Guilhem Moulin <guilhem@debian.org> - 2018-07-12 20:40 +0200
Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth Ben Hutchings <ben@decadent.org.uk> - 2018-07-27 15:20 +0200
Bug#903641: Preserve numlock state during cryptdisk boot password prompt in plymouth Pascal Vibet - ADACIS <pvibet@gmail.com> - 2018-07-27 16:00 +0200
csiph-web