2013年9月9日月曜日

BeagleBone Black に FreeBSDをインストール 4

 さて、 U-boot の続きに移ろう。Gitの使い方も良く分からんのだが、FreeBSDマシンでリポジトリをゲットしてみる。

# mkdir uboot
# cd uboot
# git clone git://arago-project.org/git/projects/u-boot-am33x.git
Cloning into 'u-boot-am33x'...
remote: Counting objects: 194729, done.
remote: Compressing objects: 100% (40345/40345), done.
remote: Total 194729 (delta 156551), reused 189594 (delta 151599)
Receiving objects: 100% (194729/194729), 49.90 MiB | 282.00 KiB/s, done.
Resolving deltas: 100% (156551/156551), done.
Checking connectivity... done
Checking out files: 100% (7448/7448), done.


 OK!読み込めた。
 ちょっと、ディレクトリ内部を見てみると…

# ls -l
total 4
drwxr-xr-x  21 root  wheel  1024  9月  9 06:02 u-boot-am33x

# cd u-boot-am33x
# ls -l
total 524
-rw-r--r--    1 root  wheel     274  9月  9 06:01 .checkpatch.conf
drwxr-xr-x    8 root  wheel     512  9月  9 06:02 .git
-rw-r--r--    1 root  wheel     799  9月  9 06:01 .gitignore
-rw-r--r--    1 root  wheel   16398  9月  9 06:01 COPYING
-rw-r--r--    1 root  wheel   12200  9月  9 06:01 CREDITS
-rw-r--r--    1 root  wheel   25370  9月  9 06:01 MAINTAINERS
-rwxr-xr-x    1 root  wheel   21003  9月  9 06:01 MAKEALL
-rw-r--r--    1 root  wheel   27807  9月  9 06:01 Makefile
-rw-r--r--    1 root  wheel  179855  9月  9 06:01 README
drwxr-xr-x    2 root  wheel     512  9月  9 06:01 api
drwxr-xr-x   16 root  wheel     512  9月  9 06:01 arch
drwxr-xr-x  290 root  wheel    5120  9月  9 06:01 board
-rw-r--r--    1 root  wheel  116414  9月  9 06:01 boards.cfg
drwxr-xr-x    3 root  wheel    3584  9月  9 06:01 common
-rw-r--r--    1 root  wheel   10680  9月  9 06:01 config.mk
drwxr-xr-x    2 root  wheel     512  9月  9 06:01 disk
drwxr-xr-x    7 root  wheel    3072  9月  9 06:01 doc
drwxr-xr-x   28 root  wheel     512  9月  9 06:01 drivers
drwxr-xr-x    2 root  wheel     512  9月  9 06:01 dts
drwxr-xr-x    4 root  wheel     512  9月  9 06:01 examples
drwxr-xr-x   11 root  wheel     512  9月  9 06:01 fs
drwxr-xr-x   18 root  wheel    5632  9月  9 06:02 include
drwxr-xr-x    7 root  wheel    1024  9月  9 06:02 lib
-rwxr-xr-x    1 root  wheel    4512  9月  9 06:02 mkconfig
drwxr-xr-x    3 root  wheel     512  9月  9 06:02 nand_spl
drwxr-xr-x    2 root  wheel     512  9月  9 06:02 net
drwxr-xr-x    6 root  wheel     512  9月  9 06:02 post
-rw-r--r--    1 root  wheel    2487  9月  9 06:02 rules.mk
-rw-r--r--    1 root  wheel      17  9月  9 06:02 snapshot.commit
drwxr-xr-x    2 root  wheel     512  9月  9 06:02 spl
drwxr-xr-x    2 root  wheel     512  9月  9 06:02 test
drwxr-xr-x   12 root  wheel    1536  9月  9 06:02 tools


 とまあ、こんな感じ。
 Gitの方が、Subversionより使い易い様な感じがする。現在はSubversionを使っているけど、履歴を残す+サーバーにバックアップするという感覚で使っている。使用者が自分一人だけなんで面倒が少ないけど、グループで開発とかになったら、また別の問題も発生するんだろうな。Subversionを仕事で初めて使いたてのときには、結構updateせずにcommitして、他の人の変更箇所を無視してしまったりという間違いをしていたしなあw

0 件のコメント:

コメントを投稿