home  bbs  files  messages ]

      ZZLI4427             linux.debian.maint.boot             505 messages      

[ previous | next | reply ]

[ list messages | list forums ]

  Msg # 274 of 505 on ZZLI4427, Thursday 8-13-25, 6:41  
  From: =?UTF-8?B?0JDQU9C10LRRGDC  
  To: ALL  
  Subj: Bug#1101148: background  
 XPost: linux.debian.bugs.dist 
 From: orexovaleksey@gmail.com 
  
 On Fri, 11 Jul 2025 18:02:58 +0200 Marc Leeman  
 wrote: 
 > Does this background work for you? 
 > 
 > I'm trying this on the daily trixie netinst and the installer gets 
 > stuck on 'Detect and mount installation media'. 
 > 
 > Inspecting the process list; the preseed/early_command does not seem 
 > to background the script or process. 
 > 
 > I've tried the snippet inline and in a script that backgrounds itself 
 > (loop), and even that the preseed has an '&' but always the same 
 > result. 
 > 
 > I'm having a similar issue where apt-setup wants to access a local key 
 > that is on the cdrom, but I have yet to find a way to copy it onto the 
 > the target for apt-setup to pick it up (late_command is too late since 
 > apt-setup will have failed by then). 
 > 
 > Use case: I want to use the CD repository to be able to install and to 
 > be used by pbuilder. For the latter, I have self-signed the image 
 > Release files; but by doing that, I'm running into apt-setup that uses 
 > the keys on the /target and that key is not there yet. 
 > 
 > So either I get pbuilder to work with the singed repository, or I get 
 > the iso installer to work with the unsigned repository. 
 > 
 > -- 
 > g. Marc 
 > 
 > GPG: 827C FD74 BA46 8152 A041 F3A0 7A6A 4F17 5995 A65B 
 > 
 > 
  You were very close to the solution. I haven't tested it on trixie , but 
 it definitely works on bookworm 
  
 d-i partman/early_command string apt-install gnupg ; \\ 
 wget -O /usr/share/keyrings/public.gpg https://{{ pulp_url 
 }}/pulp/content/gpg/public.gpg ; \\ 
 echo -e "cp /usr/share/keyrings/public.gpg 
 /target/tmp/samokat-deb-release-public.gpg\\nchroot /target /bin/bash 
 /bin/apt-key add /tmp/public.gpg" > 
 /usr/lib/apt-setup/generators/001add-key ; \\ 
 chmod +x /usr/lib/apt-setup/generators/001add-key ; \\ 
  
 
On Fri, 11 Jul 2025 18:02:58 +0200 Marc   Leeman   <marc.   eeman@gmail.com> wrote:
> Does this background work for   you?
>
> I'm trying this   on the daily trixie netinst and the installer gets
> stuck on   'Detect and mount installation media'.
>
> Inspecting   the   process list; the preseed/early_command does not seem
> to background   the script or process.
> <   br>> I've tried the snippet inline and in a script that backgrounds   itself
> (loop), and even that the preseed has an '&' but   always the same
> result.
>
> I'm having a similar   issue where apt-setup wants   to access a local key
> that is on the cdrom, but I have yet to find a   way to copy it onto the
> the target for apt-setup to pick it up   (late_command is too late since
> apt-setup will have failed by   then).
>
> Use case: I   want to use the CD repository to be able to install and to
> be used   by   pbuilder. For the latter, I have self-signed the image
> Release   files;   but by doing that, I'm running into apt-setup that uses
> the keys   on the /target and   that key is not there yet.
>
> So either I get pbuilder to work   with the singed repository, or I get
> the iso installer to work with   the unsigned repository.
>
> --
> g. Marc
>   
>   GPG: 827C FD74 BA46   8152 A041 F3A0 7A6A 4F17 5995 A65B
>
>
€€You were very   close   to the solution. I haven't tested it on trixie , but it definitely works   on bookworm

d-i partman/early_command string apt-install gnupg ;   \\
wget -O /usr/share/   keyrings/public.gpg https://{{ pulp_url }}/pulp/content/gpg/public.gpg ;   \\
echo -e "cp /usr/share/keyrings/public.gpg /target/tmp   samokat-deb-release-public.gpg\\nchroot /target /bin/bash /bin/apt-key add   /tmp/public.gpg" > /usr/lib/apt-   setup/generators/001add-key ; \\
chmod +x /usr/lib/apt-setup/g   nerators/001add-key ; \\   
      --- SoupGate-Win32 v1.05    * Origin: you cannot sedate... all the things you hate (1:229/2) 

[ list messages | list forums | previous | next | reply ]

search for:

328,124 visits
(c) 1994,  bbs@darkrealms.ca