Thanks very much. It worked : https://ibb.co/GHHDQ3H ; I'm at a good point
by creating this derivative debian distro.

Il giorno dom 16 ott 2022 alle ore 10:50 Thomas Schmitt <scdbac...@gmx.net>
ha scritto:

> Hi,
>
> Mario Marietto wrote:
> > echo logo_debian_dark.png | cpio -H newc -o -A -F
> initrd/usr/share/graphics
> > cpio: can't open initrd/usr/share/graphics: Is not a directory
>
> cpio option -F expects the path to the archive as argument. I.e. the path
> to the uncompressed initrd.
>
>
> > The images that I should edit are inside this archive / folders :
> > initrd/usr/share/graphics
>
> Are you sure about the first path component "initrd/" ?
> I see the path without it:
>
>   $ gunzip < /mnt/iso/d-i/gtk/initrd.gz | cpio -t | fgrep
> logo_debian_dark.png
>   264529 blocks
>   usr/share/graphics/logo_debian_dark.png
>
> So i expect that you want to create a new copy of that file inside the
> initrd. If so, then you have to write its desired path into stdin of cpio
>
>   echo usr/share/graphics/logo_debian_dark.png | cpio -H newc -o -A -F \
>
> /home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/d-i/gtk/initrd
>
> Since cpio seems to offer no opportunities for grafting files to arbitrary
> paths, you have to cd to some playground directory, create the directories
> of the path usr/share/graphics/, and put your .png into the "graphics"
> directory. Then run above echo|cpio pipe.
>
>
> Have a nice day :)
>
> Thomas
>
>

-- 
Mario.

Reply via email to