coreos/stage1_hooks: Bump good baselayout version and update README

We need baselayout with the ROOTPATH and PATH cleanups, so bump the
revision to 10.
This commit is contained in:
Krzesimir Nowak 2023-03-01 18:28:54 +01:00
parent 5dae6bc293
commit deee1d9be4
2 changed files with 19 additions and 7 deletions

View File

@ -5,7 +5,7 @@ set -euo pipefail
stage1_repo="${1}"
new_repo="${2}"
good_version="3.6.8-r9"
good_version="3.6.8-r10"
stage1_version=''
for f in "${stage1_repo}/sys-apps/baselayout/baselayout-"*'.ebuild'; do

View File

@ -1,6 +1,18 @@
The scripts there are called when setting up the portage-stable and
coreos-overlay repos for the stage1 build. When the scripts are
invoked, they receive a path to the repository as a parameter. The
script for portage-stable should end with `-portage-stable.sh`, and
the script for coreos-overlay with '-coreos-overlay.sh`. For example
`0000-replace-ROOTPATH-coreos-overlay.sh`.
The scripts in this directory are called by the SDK bootstrapping
script when setting up the portage-stable and coreos-overlay repos for
the stage1 build. The scripts are invoked with two arguments - a path
to the stage1 repository, and a path to the current repository. The
difference between the two is that the stage1 repository is a copy of
a repository saved in the seed SDK (thus it's going to be an older
version of the repository), whereas the current repository is a
repository that will be a base of the new SDK. The idea here is that
something in the stage1 repository may be too old, thus it should be
replaced with its equivalent from the current repository.
For more information about the bootstrap process, please see the
`bootstrap_sdk` script in [the scripts
repository](https://github.com/flatcar/scripts).
The script for portage-stable should end with `-portage-stable.sh`,
and the script for coreos-overlay with '-coreos-overlay.sh`. For
example: `0000-replace-ROOTPATH-coreos-overlay.sh`.