summaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2022-01-06 21:10:07 (GMT)
committerAlexey Neyman <stilor@att.net>2022-02-11 08:47:50 (GMT)
commit196f62e18ca16a1d6408d8e80989870e4ea93ef9 (patch)
tree09a01c7e8e05f0b8581c686bcea6f9f51109acd9 /scripts/upgrade
parentcc6b7fad46f5cb3d84cf87ae47c5f723803a67a3 (diff)
Upgrade script for uClibc retirement
Run samples through upgrade and fix accumulated breakages: *-centos6-*: After 2.12.2 retirement, the samples selected most recent glibc (2.34) which also forced kernels 3.2+. Revert to 2.12.1 and 2.6.32.71, respectively. Interestingly, 2.12.1 was marked as being used in CentOS6, but the samples selected 2.12.2. Anyway, CentOS6 is EOL now and glibc 2.12 is going to be marked obsolete, and retired soon. arc-*: Make TARGET_VENDOR match the sample's name; otherwise `ct-ng saveconfig` places the config file into a different location. Fix 'savedefconfig' which was not saving the configuration file version (CT_VCHECK was set to 'load' after CT_LoadConfig call). Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade/v312
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/upgrade/v3 b/scripts/upgrade/v3
new file mode 100644
index 0000000..1b8fce8
--- /dev/null
+++ b/scripts/upgrade/v3
@@ -0,0 +1,12 @@
+# vim: set filetype=sh :
+
+# Upgrade v3 -> v4:
+# - uClibc retired, leaving only uClibc-ng
+upgrade()
+{
+ case "${opt}" in
+ CT_LIBC_UCLIBC)
+ replace CT_LIBC_UCLIBC_NG
+ ;;
+ esac
+}