CentOS 7のソースがgitで参照できるようになったみたいです

スポンサーリンク

Getting the sources for CentOS 7 – Seven.CentOS.orgより

git cloneでカーネルソースが取得できる

最初に以下のコマンドで、centosをgitで使うときの汎用ツール(centos-git-common)を取得する必要があるみたいです

git clone  https://git.centos.org/git/centos-git-common.git

実行した時の様子

git clone  https://git.centos.org/git/centos-git-common.git
Initialized empty Git repository in /root/centos-git-common/.git/
remote: Counting objects: 46, done
remote: Finding sources: 100% (46/46)
remote: Getting sizes: 100% (10/10)
remote: Total 46 (delta 21), reused 46 (delta 21)
Unpacking objects: 100% (46/46), done.

次に、gitコマンド等でカーネルのソースを取得します

git clone  https://git.centos.org/git/rpms/kernel.git 
cd kernel
git checkout c7
../centos-git-common/get_sources.sh

CentOS 7をいち早くためしてみたい時に役立つかと思います(^o^)