diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-01-24 18:55:44 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2022-01-24 19:12:09 +0100 |
commit | 77606697b296e87dd075d7b0331d1da59f5adf66 (patch) | |
tree | 406054ddb7be7738ee089548da88f6aa8c6e356e /common.sh | |
parent | 0198a494f3d03c76a2cd2ef6f2c98e6571152f53 (diff) | |
download | vendor_replicant-release-scripts-77606697b296e87dd075d7b0331d1da59f5adf66.tar.gz vendor_replicant-release-scripts-77606697b296e87dd075d7b0331d1da59f5adf66.tar.bz2 vendor_replicant-release-scripts-77606697b296e87dd075d7b0331d1da59f5adf66.zip |
In the Replicant 6.0 0004 transition release, we have the following
patches on top of the vendor/replicant master branch:
53ab2743 Release Replicant 6.0 0004 transition release
6c2772be Re-run the key migration at each boot
this is because for transition releases, we need two apply two patches
instead of one in vendor/replicant in the builder source code.
The goal of the transition releases is to enable users running images
signed with older keys to migrate to new images that are signed with
newly generated keys (which are stored in vendor/replicant-security),
without having to erase all their data.
This requires an extra patch to enable the service that runs the key
migration script at each boot.
After booting a transition release, users are expected to install a
regular release like the Replicant 6.0 0004 in order not to have the
key migration run at each boot (if the power runs out precisely
when the migration script runs, users could loose all their data).
The second patch is similar to what we have in all other releases: it
just sets the release versions and potentially adds release notes to
the changelog.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'common.sh')
-rwxr-xr-x | common.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -25,6 +25,15 @@ is_replicant_11() match_replicant_version '^11-' } +is_transition_release() +{ + if echo "${RELEASE}" | grep '\-transition$' > /dev/null ; then + true + else + false + fi +} + match_replicant_version() { regex="$1" |