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

Re: Some of the parameters used in my genisoimage command don't produce a bootable ISO image



Hello Charles.

Can you write the full command ? I don't understand what you mean with " find … -type f …". I'm orienting myself to use this :

find . -depth | cpio --create --format='newc' > /boot/$CURRENT_KERNEL_VERSION_NO_GZ

as suggested by Thomas. In this command I don't see any "-type f". Very much.


Il giorno ven 28 ott 2022 alle ore 15:47 Charles Curley <charlescurley@charlescurley.com> ha scritto:
On Fri, 28 Oct 2022 09:32:00 +0700
Max Nikulin <manikulin@gmail.com> wrote:

> On 28/10/2022 07:07, Mario Marietto wrote:
> >
> > find . | cpio --create 
> I rarely use cpio, but recently there was a thread on tar and
> unwanted hard links in the created archive. "find" output mixes
> regular files and directories. If the archiver recursively walks
> through received directories then result may differ from expectations.
>
>

Right. To avoid picking up directories, use

find … -type f …

That will select only files, not directories, symlinks, devices, etc.

--
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



--
Mario.

Reply to: