Add support for old Linux versions
This add support for linux 0.01 to 2.6.12-rc1 Some versions are missing like 0.02 to 0.10 (not included) but it looks like they have been deleted over time. Signed-off-by: Maxime Chretien <maxime.chretien@bootlin.com>
This commit is contained in:
parent
b487a73d25
commit
5626c39546
3 changed files with 27 additions and 2 deletions
|
|
@ -175,6 +175,14 @@ git remote add stable git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux
|
|||
git fetch stable
|
||||
----
|
||||
|
||||
Then, you can also declare an `history` remote branch corresponding to the old Linux versions not present in the other repos, to get all the old version still available:
|
||||
|
||||
----
|
||||
cd repo
|
||||
git remote add history https://github.com/bootlin/linux-history.git
|
||||
git fetch history --tags
|
||||
----
|
||||
|
||||
Feel free to add more remote branches in this way, as Elixir will consider tags from all remote branches.
|
||||
|
||||
== First Test
|
||||
|
|
|
|||
|
|
@ -1,8 +1,17 @@
|
|||
# Elixir definitions for Linux
|
||||
|
||||
get_tags()
|
||||
{
|
||||
git tag |
|
||||
version_dir |
|
||||
sed -r 's/^(pre|lia64-|)(v?[0-9\.]*)(pre|-[^pf].*?|)(alpha|-[pf].*?|)([0-9]*)(.*?)$/\2#\3@\4@\5@\60@\1.0/' |
|
||||
sort -V |
|
||||
sed -r 's/^(.*?)#(.*?)@(.*?)@(.*?)@(.*?)0@(.*?)\.0$/\6\1\2\3\4\5/'
|
||||
}
|
||||
|
||||
list_tags_h()
|
||||
{
|
||||
echo "$tags" |
|
||||
tac |
|
||||
sed -r 's/^(((v2.6)\.([0-9]*)(.*))|(v[0-9]*)\.([0-9]*)(.*))$/\3\6 \3\6.\4\7 \3\6.\4\7\5\8/'
|
||||
sed -r 's/^(pre|lia64-|)(v?)([0-9]*)\.([0-9]*)(.*)$/v\3 v\3.\4 \1\2\3.\4\5/'
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ index() {
|
|||
project=$1
|
||||
master=$2
|
||||
remote=$3
|
||||
remote2=$4
|
||||
echo "Processing project $project..."
|
||||
|
||||
export LXR_DATA_DIR=$ELIXIR_ROOT/$project/data
|
||||
|
|
@ -41,6 +42,13 @@ index() {
|
|||
git fetch other
|
||||
fi
|
||||
|
||||
if [ "$remote2" != "" ]
|
||||
then
|
||||
cd $LXR_REPO_DIR
|
||||
git remote add other2 $remote2
|
||||
git fetch other2
|
||||
fi
|
||||
|
||||
cd $ELIXIR_INSTALL
|
||||
./update.py
|
||||
|
||||
|
|
@ -73,7 +81,7 @@ index busybox git://git.busybox.net/busybox &
|
|||
index coreboot https://review.coreboot.org/coreboot.git &
|
||||
index dpdk git://dpdk.org/dpdk &
|
||||
index glibc git://sourceware.org/git/glibc.git &
|
||||
index linux git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git &
|
||||
index linux git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git https://github.com/bootlin/linux-history.git &
|
||||
index llvm https://github.com/llvm/llvm-project.git &
|
||||
index mesa https://gitlab.freedesktop.org/mesa/mesa.git &
|
||||
index musl git://git.musl-libc.org/musl &
|
||||
|
|
|
|||
Loading…
Reference in a new issue