[meta-xilinx] read-only-fs

Bishop, Mark (STRT) MBishop at smithsinterconnectinc.com
Tue Jan 30 07:52:22 PST 2018


Still got the same error with the check disabled.

-----Original Message-----
From: Nathan Rossi [mailto:nathan at nathanrossi.com] 
Sent: Tuesday, January 30, 2018 10:47 AM
To: Bishop, Mark (STRT)
Cc: meta-xilinx at yoctoproject.org
Subject: Re: [meta-xilinx] read-only-fs

On 31 January 2018 at 01:33, Bishop, Mark (STRT) <MBishop at smithsinterconnectinc.com> wrote:
> I should use a different package/recipe?

If you need the feature then maybe. If you don't know what it does see
-> https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html
-> #var-SERIAL_CONSOLES_CHECK

I'm not sure if petalinux defaults to setting it. But I do know that it is default set for the zcu102 machine in meta-xilinx, and also in the Xilinx release versions of meta-xilinx for all machines.

https://github.com/Xilinx/meta-xilinx/blob/rel-v2017.4/conf/machine/zcu102-zynqmp.conf#L17

Setting the value to empty will disable it (in local.conf or your machine.conf). And thus allow the sysinit-initab recipe to skip the runtime postinst requirement.

SERIAL_CONSOLES_CHECK = ""

Regards,
Nathan

>
>
>
> Sorry, I’m used to BuildRoot and I’m learning Yocto.
>
>
>
>
>
>
>
> From: Nathan Rossi [mailto:nathan at nathanrossi.com]
> Sent: Tuesday, January 30, 2018 10:25 AM
> To: Bishop, Mark (STRT)
> Cc: meta-xilinx at yoctoproject.org
> Subject: Re: [meta-xilinx] read-only-fs
>
>
>
> On 31 January 2018 at 00:55, Bishop, Mark (STRT) 
> <MBishop at smithsinterconnectinc.com> wrote:
>
> ERROR: petalinux-user-image-1.0-r0 do_rootfs: The following packages 
> could not be configured offline and rootfs is read-only: 
> ['100-sysvinit-inittab']
>
>
>
> Probably related to the use of SERIAL_CONSOLES_CHECK? Which can only 
> be done at runtime, and thus its postinst cannot be run for a read-only image.
>
>
>
> Regards,
>
> Nathan
>
>
>
>
>
>
> This e-mail contains proprietary information some or all of which may 
> be legally privileged. It is intended for the recipient only. If an 
> addressing or transmission error has misdirected this e-mail, please 
> notify the authority by replying to this e-mail. If you are not the 
> intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail.
> In addition, information contained in or attached to this e-mail may 
> be subject to either 22 C.F.R. Parts 120‐130, or 15 C.F.R. Parts 
> 730-774. These regulations prohibit the release or disclosure of 
> certain information contained herein to anyone who is not a U.S. 
> citizen or permanent resident alien, without a license first having been issued. Failure to observe such
> requirements is a violation of U.S. law that carries serious penalties.   ­­
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
>




More information about the meta-xilinx mailing list