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

Re: debian-user-digest Digest V2022 #816



no

On Sun, 16 Oct 2022, 11:35 pm , <debian-user-digest-request@lists.debian.org> wrote:
Content-Type: text/plain

debian-user-digest Digest                               Volume 2022 : Issue 816

Today's Topics:
  Re: Some of the parameters used in m  [ Mario Marietto <marietto2008@gmail. ]
  Re: Strange syslog behaviour [Solved  [ David Wright <deblis@lionunicorn.co ]
  Re: Strange syslog behaviour [Solved  [ David Wright <deblis@lionunicorn.co ]
  Re: Some of the parameters used in m  [ "Thomas Schmitt" <scdbackup@gmx.net ]
  Re: Strange syslog behaviour [Solved  [ Wayne Sallee <Wayne@WayneSallee.com ]
  Re: MUD                               [ Wayne Sallee <Wayne@WayneSallee.com ]
  Re: Cheap NAS                         [ Wayne Sallee <Wayne@WayneSallee.com ]
  Re: Cheap NAS                         [ Stanislav Vlasov <stanislav.v.v@gma ]
  Re: Some of the parameters used in m  [ Mario Marietto <marietto2008@gmail. ]
Date: Sat, 15 Oct 2022 23:03:41 +0200
From: Mario Marietto <marietto2008@gmail.com>
To: Thomas Schmitt <scdbackup@gmx.net>, debian-user@lists.debian.org
Subject: Re: Some of the parameters used in my genisoimage command don't
 produce a bootable ISO image
Message-ID: <[🔎] CA+1FSiihZSEpSv0xm6KpQ4gPKaTQKNh_noBbccyyBN4jdhug-Q@mail.gmail.com>
Content-Type: multipart/alternative; boundary="000000000000ec4dc505eb1915eb"

--000000000000ec4dc505eb1915eb
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello.

I have understood that the graphic files I need to change are inside the
file called "initrd.gz" that's inside this folder :

/home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/d-i/gtk/

I should decompress it and I will have the file called "initrd",that's a
cpio file. The images that I should edit are inside this archive / folders =
:

initrd/usr/share/graphics

and they are called : logo_debian.png and logo_debian_dark.png ;

at this point this is what I did to add two new image files inside the
archive in the same position of the old ones :

chmod +w -R
/home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/d-i/gtk/
echo logo_debian_dark.png | cpio -H newc -o -A -F initrd/usr/share/graphics

but unfortunately this is not the proper command to issue :

cpio: can't open initrd/usr/share/graphics: Is not a directory

how to fix that ?



Il giorno sab 15 ott 2022 alle ore 20:48 Mario Marietto <
marietto2008@gmail.com> ha scritto:

> Hello to everyone.
>
> I'm trying to customize the debian 11 and I'm creating a derivative distr=
o
> for debian 11. I've changed a lot of logos,images and pictures,but not
> everything. For example I'm not able to understand which file belongs to
> the image and the logo that you see in this picture :
> https://ibb.co/SvbvsyR ; thanks.
>
> Il giorno gio 13 ott 2022 alle ore 22:58 Mario Marietto <
> marietto2008@gmail.com> ha scritto:
>
>> =F0=9F=98=82
>>
>> Il giorno gio 13 ott 2022 alle ore 22:35 Thomas Schmitt <
>> scdbackup@gmx.net> ha scritto:
>>
>>> Hi,
>>>
>>> Mario Marietto wrote:
>>> > anyway,using another append shouldn't be wrong because the debian
>>> developers
>>> > used,not me,in this way
>>>
>>> Oh. In this case we should not bet against their wisdom.
>>>
>>> If it is by mistake, then it is harmless and heavily tested during the
>>> last years.
>>> (Regrettably i have not many old Live ISOs and half of them are
>>> "standard",
>>>  i.e. without GUI. I see the line with the unexplained "append" in
>>>  debian-live-9.2.0-amd64-cinnamon.iso .
>>>  Maybe one of the subscribed DDs has nostalgic memories from the time
>>> when
>>>  the graphic installer was introduced ?)
>>>
>>>
>>> Have a nice day :)
>>>
>>> Thomas
>>>
>>>
>>
>> --
>> Mario.
>>
>
>
> --
> Mario.
>


--=20
Mario.

--000000000000ec4dc505eb1915eb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello.</div><div><br></div><div>I have understood tha=
t the graphic files I need to change are inside the file called &quot;initr=
d.gz&quot; that&#39;s inside this folder :</div><div><br></div><div>/home/z=
iomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/d-i/gtk/</div><div><br=
></div><div>I should decompress it and I will have the file called &quot;in=
itrd&quot;,that&#39;s a cpio file. The images that I should edit are inside=
 this archive / folders :</div><div><br></div><div>initrd/usr/share/graphic=
s</div><div><br></div><div>and they are called : logo_debian.png and logo_d=
ebian_dark.png ;=C2=A0</div><div><br></div><div>at this point this is what =
I did to add two new image files inside the archive in the same position of=
 the old ones :</div><div><br></div><div><span style=3D"font-family:monospa=
ce"><span style=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">chmo=
d +w -R </span></span>/home/ziomario/Scrivania/PassT-Cubic/Debian-new/custo=
m-disk/d-i/gtk/</div><div><span style=3D"font-family:monospace"><span style=
=3D"color:rgb(0,0,0);background-color:rgb(255,255,255)">echo logo_debian_da=
rk.png | cpio -H newc -o -A -F initrd/usr/share/graphics
</span><br></span></div><div><span style=3D"font-family:monospace"><br></sp=
an></div><div><span style=3D"font-family:monospace">but unfortunately this =
is not the proper command to issue :<br></span></div><div><span style=3D"fo=
nt-family:monospace"><br></span></div><div><span style=3D"font-family:monos=
pace">cpio: can&#39;t open initrd/usr/share/graphics: Is not a directory<br=
></span></div><div><br><span style=3D"font-family:monospace">
</span></div><div><span style=3D"font-family:monospace">how to fix that ?</=
span></div><div><span style=3D"font-family:monospace"><br></span></div><div=
><span style=3D"font-family:monospace"><br></span></div></div><br><div clas=
s=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Il giorno sab 15 ot=
t 2022 alle ore 20:48 Mario Marietto &lt;<a href="" href="mailto:marietto2008@gma" target="_blank" rel="noreferrer">marietto2008@gma=
il.com">marietto2008@gmail.com</a>&gt; ha scritto:<br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Hello to everyone.=
</div><div><br></div><div>I&#39;m trying to customize the debian 11 and I&#=
39;m creating a derivative distro for debian 11. I&#39;ve changed a lot of =
logos,images and pictures,but not everything. For="" I&#39;m not =
able to understand which file belongs to the image and the logo that you se=
e in this picture : <a href="" href="https://ibb.co/SvbvsyR" rel="noreferrer noreferrer" target="_blank">https://ibb.co/SvbvsyR" target=3D"_blank">ht=
tps://ibb.co/SvbvsyR</a> ; thanks.</div></div><br><div class=3D"gmail_quote=
"><div dir=3D"ltr" class=3D"gmail_attr">Il giorno gio 13 ott 2022 alle ore =
22:58 Mario Marietto &lt;<a href="" href="mailto:marietto2008@gmail.com" target="_blank" rel="noreferrer">marietto2008@gmail.com" target=
=3D"_blank">marietto2008@gmail.com</a>&gt; ha scritto:<br></div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px so=
lid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">=F0=9F=98=82<br></d=
iv><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">Il =
giorno gio 13 ott 2022 alle ore 22:35 Thomas Schmitt &lt;<a href=""> scdbackup@gmx.net" target=3D"_blank">scdbackup@gmx.net</a>&gt; ha scritto:<=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Mario Marietto wrote:<br>
&gt; anyway,using another append shouldn&#39;t be wrong because the debian =
developers<br>
&gt; used,not me,in this way<br>
<br>
Oh. In this case we should not bet against their wisdom.<br>
<br>
If it is by mistake, then it is harmless and heavily tested during the<br>
last years.<br>
(Regrettably i have not many old Live ISOs and half of them are &quot;stand=
ard&quot;,<br>
=C2=A0i.e. without GUI. I see the line with the unexplained &quot;append&qu=
ot; in<br>
=C2=A0debian-live-9.2.0-amd64-cinnamon.iso .<br>
=C2=A0Maybe one of the subscribed DDs has nostalgic memories from the time =
when<br>
=C2=A0the graphic installer was introduced ?)<br>
<br>
<br>
Have a nice day :)<br>
<br>
Thomas<br>
<br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr">Mario.<br>=
</div>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr">Mario.<br>=
</div>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature">Mario.<br></div>

--000000000000ec4dc505eb1915eb--
Date: Sun, 16 Oct 2022 00:26:51 -0500
From: David Wright <deblis@lionunicorn.co.uk>
To: debian-user@lists.debian.org
Subject: Re: Strange syslog behaviour [Solved]
Message-ID: <[🔎] Y0uWG3nK57cBlcbe@axis.corp>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

While I was composing my second post in this thread,
On Tue 12 Apr 2022 at 06:38:34 (+0800), Jeremy Ardley wrote:
> On 11/4/22 12:00 pm, Jeremy Ardley wrote:
> > On 11/4/22 11:46 am, David Wright wrote:
> > >
> > > There are tabooext and taboopat directives for ignoring files in
> > > logrotated.d, and I would have thought it reasonable to exclude
> > > these sorts of housekeeping files by default, because they're very
> > > likely to contain some duplication. I would file a bug against
> > > logrotate.
> > >
> > Keywords tabooext and taboopat don't appear in /etc/*
> >
> > I did get a hit in binary file /usr/sbin/rsyslogd
> >
> >
> Further to resolving the problem, on one system I ran
>
> logrotate --debug /etc/logrotate.conf
>
> And discovered that /etc/logrotate.d/inetutils-syslogd was also being
> loaded. It had duplicates of many entries in /etc/logrotate.d/rsyslog

If both those file exist, then I would think that's the cause of your
double rotation problem. As for the .dpkg-{old,dist} files, they just
reflect different responses for the upgrading of /etc/logrotate.d/dpkg
when dpkg was being upgraded on the two systems.

> I have no idea why inetutils did this. I recall inetutils also did
> some other bad stuff I had to disable.

AFAICT there's no package "inetutils", but eleven inetutils-* separate
packages, amongst them inetutils-ping, inetutils-traceroute and
inetutils-syslogd.

> All I wanted was ping but I got a world of hurt as well!

Most people, I suspect, have iputils-ping installed. On my bullseye
systems, it gets installed by the d-i a little after netbase and a
little before logrotate. That's in the early debootstrap stage, and
before the in-target stages.

>From the follow-up to your post, I get the impression that you've
pulled in some inetutils-* stuff. AFAICT inetutils-ping kicks out
iputils-ping, and inetutils-traceroute kicks out traceroute without
any complications, but you appear to have installed inetutils-syslogd,
perhaps on account of inetutils-inetd, but without removing rsyslogd.
In the follow-up, you appear to prevent -syslogd and -inetd from
doing anything, so one might ask why they're installed at all. Have
I missed spotting some dependency?

Cheers,
David.
Date: Sun, 16 Oct 2022 00:27:24 -0500
From: David Wright <deblis@lionunicorn.co.uk>
To: debian-user@lists.debian.org
Subject: Re: Strange syslog behaviour [Solved]
Message-ID: <[🔎] Y0uWPDBKUdBVsJ5u@axis.corp>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

On Sat 15 Oct 2022 at 13:59:18 (-0400), Wayne Sallee obfuscated the following with HTML:

> Jeremy Ardley, did you update your code from " invoke-rc.d rsyslog rotate > /dev/null" to
> "/usr/lib/rsyslog/rsyslog-rotate"?

I've added a new post to that part of the thread. I think your
problem concerns changing to systemd, whereas his concerns mixing
inetdutils-* packages with the more usual equivalent ones.

> So I got my servers straitened out, I think. I will know tomorrow.
> For anyone else running into this problem, the problem was caused from modifying
> /etc/logrotate.d/rsyslog then upgrading to Buster.
> The fix:
> diff /etc/logrotate.d/rsyslog.dpkg-dist /etc/logrotate.d/rsyslog
> edit /etc/logrotate.d/rsyslog
> Change from
>                  invoke-rc.d rsyslog rotate > /dev/null
> to
>                  /usr/lib/rsyslog/rsyslog-rotate
> Then delete /etc/logrotate.d/rsyslog.dpkg-dist
> I then rebooted my servers to get the syslog used.
> Then
> ls /var/log | grep syslog
> To see that it was working. I will know tomorrow if it is still working.

I think the point you've missed is that at some stage, you upgraded
from SystemV to systemd. Whenever that happened, the upgrade to
rsyslog would have supplied a new /etc/logrotate.d/rsyslog file
containing "/usr/lib/rsyslog/rsyslog-rotate", which knows how to
handle both SystemV and systemd systems.

You rejected the new file, which is why it was instead written to
/etc/logrotate.d/rsyslog.dpkg-dist (which you could have safely
left or removed—it's harmless).

Effectively, your edit has merged the contents of both files,
whatever changes you made earlier before the Buster upgrade,
and the vital change that would have been made for you if
you'd accepted the new version.

Cheers,
David.
Date: Sun, 16 Oct 2022 10:51:54 +0200
From: "Thomas Schmitt" <scdbackup@gmx.net>
To: debian-user@lists.debian.org
Subject: Re: Some of the parameters used in my genisoimage command don't produce a bootable ISO image
Message-Id: <[🔎] 2155401534230593782@scdbackup.webframe.org" target="_blank" rel="noreferrer">[🔎] 2155401534230593782@scdbackup.webframe.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Hi,

Mario Marietto wrote:
> echo logo_debian_dark.png | cpio -H newc -o -A -F initrd/usr/share/graph=
ics
> 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/in=
itrd

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
Date: Sun, 16 Oct 2022 09:09:36 -0400
From: Wayne Sallee <Wayne@WayneSallee.com>
To: debian-user@lists.debian.org
Subject: Re: Strange syslog behaviour [Solved]
Message-ID: <[🔎] 83231b6f-c2a5-b83d-520e-013ae9125585@WayneSallee.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US

-------- Original Message --------
*Subject: *  Re: Strange syslog behaviour [Solved]
*From: *     David Wright <deblis@lionunicorn.co.uk>
*To: *         Debian-user <debian-user@lists.debian.org>
*CC: *
*Date: *      2022-10-16  01:27 AM
> On Sat 15 Oct 2022 at 13:59:18 (-0400), Wayne Sallee obfuscated the following with HTML:
>
>> Jeremy Ardley, did you update your code from " invoke-rc.d rsyslog rotate > /dev/null" to
>> "/usr/lib/rsyslog/rsyslog-rotate"?
> I've added a new post to that part of the thread. I think your
> problem concerns changing to systemd, whereas his concerns mixing
> inetdutils-* packages with the more usual equivalent ones.
>
>> So I got my servers straitened out, I think. I will know tomorrow.
>> For anyone else running into this problem, the problem was caused from modifying
>> /etc/logrotate.d/rsyslog then upgrading to Buster.
>> The fix:
>> diff /etc/logrotate.d/rsyslog.dpkg-dist /etc/logrotate.d/rsyslog
>> edit /etc/logrotate.d/rsyslog
>> Change from
>>                   invoke-rc.d rsyslog rotate > /dev/null
>> to
>>                   /usr/lib/rsyslog/rsyslog-rotate
>> Then delete /etc/logrotate.d/rsyslog.dpkg-dist
>> I then rebooted my servers to get the syslog used.
>> Then
>> ls /var/log | grep syslog
>> To see that it was working. I will know tomorrow if it is still working.
> I think the point you've missed is that at some stage, you upgraded
> from SystemV to systemd. Whenever that happened, the upgrade to
> rsyslog would have supplied a new /etc/logrotate.d/rsyslog file
> containing "/usr/lib/rsyslog/rsyslog-rotate", which knows how to
> handle both SystemV and systemd systems.

My situation is now solved. It's working as it should. I think Debian 9 is systemd by default, so I don't think it was a
change from systemv to systemd. But it was definitely a change in programs used that required the change to
"rsyslog-rotate".

>
> You rejected the new file, which is why it was instead written to
> /etc/logrotate.d/rsyslog.dpkg-dist (which you could have safely
> left or removed—it's harmless).

Yes, I rejected the new file, causing the other file to be there. It would be nice if updates told what needed to be
updated in the old file when updates are done.

>
> Effectively, your edit has merged the contents of both files,
> whatever changes you made earlier before the Buster upgrade,
> and the vital change that would have been made for you if
> you'd accepted the new version.

But If I had accepted the new file, it would probably have discarded the changes that I had made.

It would be nice if updates presented "old file", "new file", "combined file"; choice: (1), (2), (3).

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com
>
> Cheers,
> David.
>
>
Date: Sun, 16 Oct 2022 10:00:50 -0400
From: Wayne Sallee <Wayne@WayneSallee.com>
To: debian-user@lists.debian.org
Subject: Re: MUD
Message-ID: <[🔎] 8fff67d5-a73e-ae47-b3ca-233a6ce99769@WayneSallee.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US

-------- Original Message --------
*Subject: *  Re: MUD
*From: *     Maude Summerside <debian@polynamaude.com>
*To: *         Debian-user <debian-user@lists.debian.org>
*CC: *
*Date: *      2022-10-13  11:13 AM
> I'm talking mostly about the
> server software needed.

To make it more acceptable by a larger group of people, you could make it so that on the client side, a simple terminal
window could be used.

I have not used MUD for about 25 years, back in my Windows days. I used to use a MUD room for holding meetings. It made
the meetings a bit more interesting. :-)

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com
Date: Sun, 16 Oct 2022 10:11:50 -0400
From: Wayne Sallee <Wayne@WayneSallee.com>
To: debian-user@lists.debian.org
Subject: Re: Cheap NAS
Message-ID: <[🔎] 28c0682e-22ce-96f4-3ee3-2939ba763280@WayneSallee.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US

What about just putting some drives in a desktop, and installing some free nas software like
https://linuxhint.com/best-nas-software-linux

Wayne Sallee
Wayne@WayneSallee.com
http://www.WayneSallee.com
Date: Sun, 16 Oct 2022 19:21:05 +0500
From: Stanislav Vlasov <stanislav.v.v@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: Cheap NAS
Message-ID: <[🔎] CAOQdWPEn4TOniGpDsZFVdnCzjz1Sdx3WUmwbfRP5qnV6hmYRSw@mail.gmail.com" target="_blank" rel="noreferrer">[🔎] CAOQdWPEn4TOniGpDsZFVdnCzjz1Sdx3WUmwbfRP5qnV6hmYRSw@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

2022-10-16 19:11 GMT+05:00, Wayne Sallee <Wayne@waynesallee.com>:
> What about just putting some drives in a desktop, and installing some free
> nas software like
> https://linuxhint.com/best-nas-software-linux

OpenMediaVault work fine even on Orange Pi 3 LTS with usb drives.

--
Stanislav
Date: Sun, 16 Oct 2022 17:24:05 +0200
From: Mario Marietto <marietto2008@gmail.com>
To: Thomas Schmitt <scdbackup@gmx.net>
Cc: debian-user@lists.debian.org
Subject: Re: Some of the parameters used in my genisoimage command don't
 produce a bootable ISO image
Message-ID: <[🔎] CA+1FSihYPMOzox3AWusQ81GbQ7ximQ-iFrdpjY69YU_-p--Tug@mail.gmail.com>
Content-Type: multipart/alternative; boundary="00000000000046f08a05eb287548"

--00000000000046f08a05eb287548
Content-Type: text/plain; charset="UTF-8"

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 <scdbackup@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.

--00000000000046f08a05eb287548
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks very much. It worked : <a href="" href="https://ibb.co/GH=HDQ3H" rel="noreferrer noreferrer" target="_blank">https://ibb.co/GH=
HDQ3H">https://ibb.co/GHHDQ3H</a> ; I&#39;m at a good point by creating thi=
s derivative debian distro.<br></div><br><div class=3D"gmail_quote"><div di=
r=3D"ltr" class=3D"gmail_attr">Il giorno dom 16 ott 2022 alle ore 10:50 Tho=
mas Schmitt &lt;<a href="" href="mailto:scdbackup@gmx.net" target="_blank" rel="noreferrer">scdbackup@gmx.net">scdbackup@gmx.net</a>&=
gt; ha scritto:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">=
Hi,<br>
<br>
Mario Marietto wrote:<br>
&gt; echo logo_debian_dark.png | cpio -H newc -o -A -F initrd/usr/share/gra=
phics<br>
&gt; cpio: can&#39;t open initrd/usr/share/graphics: Is not a directory<br>
<br>
cpio option -F expects the path to the archive as argument. I.e. the path<b=
r>
to the uncompressed initrd.<br>
<br>
<br>
&gt; The images that I should edit are inside this archive / folders :<br>
&gt; initrd/usr/share/graphics<br>
<br>
Are you sure about the first path component &quot;initrd/&quot; ?<br>
I see the path without it:<br>
<br>
=C2=A0 $ gunzip &lt; /mnt/iso/d-i/gtk/initrd.gz | cpio -t | fgrep logo_debi=
an_dark.png<br>
=C2=A0 264529 blocks<br>
=C2=A0 usr/share/graphics/logo_debian_dark.png<br>
<br>
So i expect that you want to create a new copy of that file inside the<br>
initrd. If so, then you have to write its desired path into stdin of cpio<b=
r>
<br>
=C2=A0 echo usr/share/graphics/logo_debian_dark.png | cpio -H newc -o -A -F=
 \<br>
=C2=A0 =C2=A0 /home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/d=
-i/gtk/initrd<br>
<br>
Since cpio seems to offer no opportunities for grafting files to arbitrary<=
br>
paths, you have to cd to some playground directory, create the directories<=
br>
of the path usr/share/graphics/, and put your .png into the &quot;graphics&=
quot;<br>
directory. Then run above echo|cpio pipe.<br>
<br>
<br>
Have a nice day :)<br>
<br>
Thomas<br>
<br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature">Mario.<br></div>

--00000000000046f08a05eb287548--

Reply to: