On 31 January 2018 at 03:45, Manjukumar Harthikote Matha <[email protected]> wrote: > Hi Nathan, > >> -----Original Message----- >> From: [email protected] [mailto:meta-xilinx- >> [email protected]] On Behalf Of Nathan Rossi >> Sent: Tuesday, January 30, 2018 9:01 AM >> To: Bishop, Mark (STRT) <[email protected]> >> Cc: [email protected] >> Subject: Re: [meta-xilinx] read-only-fs >> >> On 31 January 2018 at 02:31, Bishop, Mark (STRT) >> <[email protected]> wrote: >> > Changing the that file gets me a good build but I'm concerned with changing >> anything in a directory that is called 'generated' for when I move this to a >> build >> server. Looking for the 'right' way to fix it. >> >> You can forcibly override it in local.conf or any conf really, with >> something like: >> >> SERIAL_CONSOLES_CHECK_<machine-name> = "" >> >> or completely override: >> >> SERIAL_CONSOLES_CHECK_forcevariable = "" >> > > Is there a way in OE-Core to disable such tasks when read-only fs is enabled? > If not, that is something should be handled in some easy manner >
Its a bit tricky since read-only-rootfs is a image feature which means its not generally available knowledge at the time which sysvinit-inittab would be able to disable its postinst. Though you could have sysvinit-initab split its serial check into a separate package, and have it excluded somehow. But since its not a commonly needed feature it might be easier to transition to systemd for its features? Though another option would be to implement a feature in getty to lets its process wait for the device if they don't exist or something. Regards, Nathan -- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
