mbox series

[RFC,0/2] Custom base-files

Message ID 20210219195719.29037-1-Vijaikumar_Kanagarajan@mentor.com
Headers show
Series Custom base-files | expand

Message

Vijai Kumar K Feb. 19, 2021, 9:57 a.m. UTC
This series introduced 2 patchsets.
P1 though could be a separate patchset, is clubbed with this series
since it is needed for P2.

This series removes the postprocessing logic that modifies /etc/os-release
to inject custom data into it. Instead, proposes a custom base-files
based approach to solve the problem.

The basic issue identified with the post-processing approach is that
the information put onto /etc/os-release will be overwritten by the
one provided by the base-files package on reinstall/upgrade.

For a history of this issue and relevant discussions please see [1]

[1]https://groups.google.com/g/isar-users/c/Jr3bTPumH-w 

This might need some entry in user-manual and/or changelog. Will be
added after further testing and in the final version of the patchset.

Vijai Kumar K (2):
  dpkg-base: Handle custom source directory in do_apt_fetch
  recipes-core: Add recipe for base-files

 .../recipes-core/images/isar-image-base.bb    |  2 +
 meta/classes/dpkg-base.bbclass                |  7 ++-
 meta/classes/image-postproc-extension.bbclass | 40 --------------
 meta/classes/image.bbclass                    | 20 -------
 meta/recipes-core/base-files/base-files.bb    |  6 ++
 meta/recipes-core/base-files/base-files.inc   | 55 +++++++++++++++++++
 6 files changed, 69 insertions(+), 61 deletions(-)
 create mode 100644 meta/recipes-core/base-files/base-files.bb
 create mode 100644 meta/recipes-core/base-files/base-files.inc