Giter Site home page Giter Site logo

meta-ro-rootfs's Introduction

read-only-rootfs support enhancements Yocto layer

This layer holds fixes for read-only-rootfs support that were needed by Mentor Graphics Corporation. Currently, it contains a recipe which implements the equivalent of the current sysvinit read-only-rootfs hook for systemd, to be installed into read-only-rootfs images, a bbappend to fix lighttpd so it doesn't try to write to /www, and a couple other misc changes. It also holds remnants from an initial move toward consolidating the systemd tmpfiles.d and sysvinit volatiles mechanisms.

Note that our ro-binds recipe installs configuration which mount-binds uses to set up the writable paths. To add a new path to be made writable, either a file or a directory, create a new file in /etc/binds.d/ with lines like this: /var/volatile/lib /var/lib.

This layer depends on:

URI: git://git.openembedded.org/openembedded-core Branch: master

Contributing

URL: https://github.com/MentorEmbedded/meta-ro-rootfs

To contribute to this layer, please fork and submit pull requests to the above repository with github, or open issues for any bugs you find, or feature requests you have.

Usage

  1. Add this layer to BBLAYERS in bblayers.conf
  2. Enable read-only-rootfs for your images, by adding this to local.conf: EXTRA_IMAGE_FEATURES += "read-only-rootfs"
  3. Set up the mount-binds recipe to be included in the image for read-only-rootfs images (this is a temporary mechanism, intended to be replaced either with changes to image.bbclass, or aligning more closely with what sysvinit is doing): IMAGE_INSTALL_append = " ${@'ro-binds' if 'read-only-rootfs' in IMAGE_FEATURES.split() and 'systemd'

meta-ro-rootfs's People

Contributors

kergoth avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.