All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlos Santos <casantos@datacom.ind.br>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 0/5] Improve verification of custom rootfs skeletons and overlays
Date: Mon,  7 May 2018 11:44:26 -0300	[thread overview]
Message-ID: <20180507144431.14488-1-casantos@datacom.ind.br> (raw)

This series makes some improvements in the verification of custom rootfs
skeletons and overlays, regarding mergerd /usr:

Patch 1 adds a script to check if a given path complies to the merged /usr
requirements and makes skeleton-custom.mk use it instead of a bunch of
variables filled by $(shell ...) macros.

Patch 2 ensures that /bin, /lib and /sbin are created for custom skeletons,
either as directories or symlinks, according to BR2_ROOTFS_MERGED_USR. 

Patch 3 uses the script added in patch 1 to check rootfs overlays, in
target-finalize.

Patch 4 allows rootfs overlays to override symbolic links on purpose (e.g.
/var/log, to persist system logs).

Patch 5 removes the restriction of using merged /usr only with the default
skeleton or when systemd is selected.

Carlos Santos (5):
  skeleton-custom: use a script to check merged usr structure
  skeleton-custom: install /bin, /lib, and /sbin
  Makefile: check rootfs overlays with BR2_ROOTFS_MERGED_USR enabled
  Makefile: allow rootfs overlays to override symbolic links
  system: allow selecting merged /usr along with custom rootfs skeleton

 Makefile                                   | 20 ++++++++++++---
 docs/manual/customize-rootfs.txt           | 17 +++++++++++++
 package/skeleton-custom/skeleton-custom.mk | 25 +++----------------
 support/scripts/check-merged-usr.sh        | 39 ++++++++++++++++++++++++++++++
 system/Config.in                           |  8 ++----
 5 files changed, 78 insertions(+), 31 deletions(-)
 create mode 100755 support/scripts/check-merged-usr.sh

-- 
2.14.3

             reply	other threads:[~2018-05-07 14:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-07 14:44 Carlos Santos [this message]
2018-05-07 14:44 ` [Buildroot] [PATCH v3 1/5] skeleton-custom: use a script to check merged usr structure Carlos Santos
2019-02-06 16:16   ` Arnout Vandecappelle
2018-05-07 14:44 ` [Buildroot] [PATCH v3 2/5] skeleton-custom: install /bin, /lib, and /sbin Carlos Santos
2018-05-07 14:44 ` [Buildroot] [PATCH v3 3/5] Makefile: check rootfs overlays with BR2_ROOTFS_MERGED_USR enabled Carlos Santos
2019-02-06 16:20   ` Arnout Vandecappelle
2018-05-07 14:44 ` [Buildroot] [PATCH v3 4/5] Makefile: allow rootfs overlays to override symbolic links Carlos Santos
2018-05-07 14:44 ` [Buildroot] [PATCH v3 5/5] system: allow selecting merged /usr along with custom rootfs skeleton Carlos Santos
2019-02-06 16:15 ` [Buildroot] [PATCH v3 0/5] Improve verification of custom rootfs skeletons and overlays Arnout Vandecappelle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180507144431.14488-1-casantos@datacom.ind.br \
    --to=casantos@datacom.ind.br \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.