[OE-core] [PATCH 3/3] image.bbclass: keep fstab pretty when swapping 'ro' for defaults

Burton, Ross ross.burton at intel.com
Wed Dec 3 12:37:42 UTC 2014


On 27 November 2014 at 16:21, Michael Jones <michael.jones at matrix-vision.de>
wrote:

> +       sed -i -e '/^[#[:space:]]*\/dev\/root/{s/defaults/ro
> /;s/\([[:space:]]*[[:digit:]]\)\([[:space:]]*\)[[:digit:]]$/\1\20/}'
> ${IMAGE_ROOTFS}/etc/fstab
>

It's perfectly valid to do something like "defaults,noatime" which this
replacement will break.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20141203/d819361e/attachment-0002.html>


More information about the Openembedded-core mailing list