Skip to content

DRAFT: Automatically configure when installed alongside osk-sdl

undef requested to merge wip/undef/osk-sdl-transition into debian/latest

On install:

The following NEW packages will be installed:
  unl0kr
0 upgraded, 1 newly installed, 0 to remove and 326 not upgraded.
Need to get 0 B/207 kB of archives.
After this operation, 641 kB of additional disk space will be used.
Get:1 /home/mobian/unl0kr_2.0.0+dfsg-2_arm64.deb unl0kr arm64 2.0.0+dfsg-2 [207 kB]
Preconfiguring packages ...
Selecting previously unselected package unl0kr.
(Reading database ... 108216 files and directories currently installed.)
Preparing to unpack .../unl0kr_2.0.0+dfsg-2_arm64.deb ...
Unpacking unl0kr (2.0.0+dfsg-2) ...
Replacing files in old package osk-sdl (0.67.1-3) ...
Setting up unl0kr (2.0.0+dfsg-2) ...
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.1-sunxi64
Processing triggers for man-db (2.11.2-3) ...
N: Download is performed unsandboxed as root as file '/home/mobian/unl0kr_2.0.0+dfsg-2_arm64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
mobian@mobian:~$ ls -lah /usr/share/initramfs-tools/scripts/
total 68K
drwxr-xr-x. 10 root root 4.0K Sep 30 23:41 .
drwxr-xr-x.  7 root root 4.0K May 28 00:23 ..
-rw-r--r--.  1 root root  12K Apr 10  2022 functions
drwxr-xr-x.  2 root root 4.0K Aug 26 03:21 init-bottom
drwxr-xr-x.  2 root root 4.0K May 28 00:23 init-premount
drwxr-xr-x.  2 root root 4.0K Aug 26 03:21 init-top
-rw-r--r--.  1 root root 5.2K Apr 10  2022 local
drwxr-xr-x.  2 root root 4.0K Sep 30 23:38 local-block
drwxr-xr-x.  2 root root 4.0K Sep 11 09:02 local-bottom
drwxr-xr-x.  2 root root 4.0K May 28 00:23 local-premount
drwxr-xr-x.  2 root root 4.0K Sep 30 23:38 local-top
-rw-r--r--.  1 root root 3.1K Apr 10  2022 nfs
lrwxrwxrwx.  1 root root   16 Sep 30 23:18 osk-sdl-keyscript -> unl0kr-keyscript
drwxr-xr-x.  2 root root 4.0K May 28 00:23 panic
-rwxr-xr-x.  1 root root  309 Sep 26 11:00 unl0kr-keyscript

This seems to do the trick and doesn't force removal of osk-sdl. The next step will be adding a dependency from osk-sdl -> unl0kr to trigger this install and fixing the crypttab cleanup in both packages.

Edited by undef

Merge request reports

Loading