2011年7月31日日曜日

CentOS 6.0 差し替え前のインストールDVDとの差分

CentOS 6.0 がリリースされる際、インストールイメージが差し替え(すり替え?)られるということがありました。そのことを非難する向きもありますが、わたしとしては、早く試す環境が得られれば良かったので、あまり気にせず、差し替え前のイメージでインストールした環境をいじっています。
とはいえ、何が差分だったのかは興味津々です。以下、x86_64版の差分を調べてみました。

まずは、2つのイメージをマウント。
[root@centos6 ~]# sha1sum /dev/scd0
9de87b0c696ebd72b952edb4cc06c24cbdc37d81  /dev/scd0  ※こちらがリリース版の x86_64 DVD1
[root@centos6 ~]# sha1sum /dev/scd1
82637f7d81a6d7dbacf0699dd3bdc72360555dba  /dev/scd1  ※差し替え前の版
[root@centos6 ~]# mkdir /mnt_cent6.0_dvd1_final
[root@centos6 ~]# mkdir /mnt_cent6.0_dvd1_xxxxx
[root@centos6 ~]# mount /dev/scd0 /mnt_cent6.0_dvd1_final
mount: block device /dev/sr0 is write-protected, mounting read-only
[root@centos6 ~]# mount /dev/scd1 /mnt_cent6.0_dvd1_xxxxx
mount: block device /dev/sr1 is write-protected, mounting read-only
[root@centos6 ~]# ls -ld /mnt_cent6.0_dvd1_*
drwxr-xr-x 7 root root 4096 Jul 10 01:53 /mnt_cent6.0_dvd1_final
drwxr-xr-x 7 root root 4096 Jul  7 22:14 /mnt_cent6.0_dvd1_xxxxx
次に、diff を採取。
[root@centos6 ~]# diff -r -u /mnt_cent6.0_dvd1_xxxxx /mnt_cent6.0_dvd1_final
diff -r -u /mnt_cent6.0_dvd1_xxxxx/CentOS_BuildTag /mnt_cent6.0_dvd1_final/CentOS_BuildTag
--- /mnt_cent6.0_dvd1_xxxxx/CentOS_BuildTag     2011-07-07 22:07:27.000000000 +0900
+++ /mnt_cent6.0_dvd1_final/CentOS_BuildTag     2011-07-10 01:46:25.000000000 +0900
@@ -1 +1 @@
-20110707-1307
+20110709-1646
diff -r -u /mnt_cent6.0_dvd1_xxxxx/.discinfo /mnt_cent6.0_dvd1_final/.discinfo
--- /mnt_cent6.0_dvd1_xxxxx/.discinfo   2011-07-07 22:11:58.000000000 +0900
+++ /mnt_cent6.0_dvd1_final/.discinfo   2011-07-10 01:51:03.000000000 +0900
@@ -1,4 +1,4 @@
-1310044044.532095
+1310229985.226287
 6.0
 x86_64
 1
Binary files /mnt_cent6.0_dvd1_xxxxx/images/efiboot.img and /mnt_cent6.0_dvd1_final/images/efiboot.img differ
Binary files /mnt_cent6.0_dvd1_xxxxx/images/efidisk.img and /mnt_cent6.0_dvd1_final/images/efidisk.img differ
Binary files /mnt_cent6.0_dvd1_xxxxx/images/install.img and /mnt_cent6.0_dvd1_final/images/install.img differ
Binary files /mnt_cent6.0_dvd1_xxxxx/images/pxeboot/initrd.img and /mnt_cent6.0_dvd1_final/images/pxeboot/initrd.img differ
Only in /mnt_cent6.0_dvd1_final/repodata: 2a7e0c1da38a40e2961c0cec6acca8b8446d974b1fc055216ebde88bb4a19eb9-c6-x86_64-comps.xml
Only in /mnt_cent6.0_dvd1_final/repodata: 419f44d9f4e345e677c6ab519b62e2228cbcdf9c523d01d6a029fa4f02f66406-primary.xml.gz
Only in /mnt_cent6.0_dvd1_xxxxx/repodata: 52ad0604bc6f4555d84bb0c32e2213a3a8008091993eae46d8100ade6117fbe4-c6-x86_64-comps.xml.gz
Only in /mnt_cent6.0_dvd1_xxxxx/repodata: 80381e2b79fcd2ca61a289c783fcf29e6715912fa2e28b3e955b94c6e6725691-primary.sqlite.bz2
Only in /mnt_cent6.0_dvd1_xxxxx/repodata: 947c06b3449529ce6dea6c2610150b5c6f029094ab83093210765a866a528c6c-c6-x86_64-comps.xml
Only in /mnt_cent6.0_dvd1_xxxxx/repodata: b5f258df6a887534bb37ef8de488f238726ef2e0b4ded2180d756c45c6d843dd-primary.xml.gz
Only in /mnt_cent6.0_dvd1_final/repodata: c89fe3615797af0f5fcf9f53ebb36a605e713680139da34f71c4fe198ba9699e-c6-x86_64-comps.xml.gz
Only in /mnt_cent6.0_dvd1_final/repodata: e601759c6eed524aa4d8c5267f087f6c72491e3d811b3c937438e7a9b0747130-c6-x86_64-comps.xml.gz
Only in /mnt_cent6.0_dvd1_xxxxx/repodata: ef31b9351dab1a0ae826b0f1ca136059acdb81227fd7ff7d78099c5c58cfa035-c6-x86_64-comps.xml.gz
Only in /mnt_cent6.0_dvd1_final/repodata: ffb0e227e2cdd8a2b3609b65d7f38f6c1e756b437405b2918d6d36ebe59a0cb4-primary.sqlite.bz2
diff -r -u /mnt_cent6.0_dvd1_xxxxx/repodata/repomd.xml /mnt_cent6.0_dvd1_final/repodata/repomd.xml
--- /mnt_cent6.0_dvd1_xxxxx/repodata/repomd.xml 2011-07-07 22:14:37.000000000 +0900
+++ /mnt_cent6.0_dvd1_final/repodata/repomd.xml 2011-07-10 01:53:42.000000000 +0900
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?repomd xmlns="http://linux.duke.edu/metadata/repo" xmlns:rpm="http://linux.duke.edu/metadata/rpm">
-  <?revision>1310044318<?/revision>
+  <?revision>1310230263<?/revision>
   <?data type="other_db">
-    <location xml:base="media://1310044044.532095#1" href="repodata/5abe055f4bf7a1670d7b48a8172bec678861f2bcb8bc001ec3afa934638edc91-other.sqlite.bz2"/>
+    <location xml:base="media://1310229985.226287#1" href="repodata/5abe055f4bf7a1670d7b48a8172bec678861f2bcb8bc001ec3afa934638edc91-other.sqlite.bz2"/>
     <checksum type="sha256">5abe055f4bf7a1670d7b48a8172bec678861f2bcb8bc001ec3afa934638edc91</checksum>
-    <timestamp>1310044455.53</timestamp>
+    <timestamp>1310230400.59</timestamp>
     <size>2409110</size>
     <open-size>10912768</open-size>
     <open-checksum type="sha256">0321c3769ba1328fb66df664d748810b9c4ad3a9c1b11b081954e4b3cffbb34f</open-checksum>
@@ -12,16 +12,16 @@
   </data>
   <data type="other">
     <checksum type="sha256">d4b0b37148f088ff02731d7c5d12af279fc6bfa1bde26aa2c4ccf18f2ac0d493</checksum>
-    <timestamp>1310044450</timestamp>
+    <timestamp>1310230395</timestamp>
     <size>2634277</size>
     <open-size>11604182</open-size>
     <open-checksum type="sha256">eab32f9a510d6ff5209aae12c1e44c4955a6de3e31dd0a12730ad5e4d8bdb47e</open-checksum>
-    <location xml:base="media://1310044044.532095#1" href="repodata/d4b0b37148f088ff02731d7c5d12af279fc6bfa1bde26aa2c4ccf18f2ac0d493-other.xml.gz"/>
+    <location xml:base="media://1310229985.226287#1" href="repodata/d4b0b37148f088ff02731d7c5d12af279fc6bfa1bde26aa2c4ccf18f2ac0d493-other.xml.gz"/>
   </data>
   <data type="filelists_db">
-    <location xml:base="media://1310044044.532095#1" href="repodata/d30e7a407b0f019826c949cbc814944e6d178242abcadb5e79a891002cfb0107-filelists.sqlite.bz2"/>
+    <location xml:base="media://1310229985.226287#1" href="repodata/d30e7a407b0f019826c949cbc814944e6d178242abcadb5e79a891002cfb0107-filelists.sqlite.bz2"/>
     <checksum type="sha256">d30e7a407b0f019826c949cbc814944e6d178242abcadb5e79a891002cfb0107</checksum>
-    <timestamp>1310044469.52</timestamp>
+    <timestamp>1310230414.65</timestamp>
     <size>5772387</size>
     <open-size>31381504</open-size>
     <open-checksum type="sha256">12d2719025bbae4f357ea0a33f008d3ecce3778c0369c2af87e902626aabf43a</open-checksum>
@@ -29,38 +29,38 @@
   </data>
   <data type="filelists">
     <checksum type="sha256">c3797545a90f38e0738506e2b19c9a61e465f777156e0e1418a094d9ee08f23a</checksum>
-    <timestamp>1310044450</timestamp>
+    <timestamp>1310230395</timestamp>
     <size>5201743</size>
     <open-size>66967944</open-size>
     <open-checksum type="sha256">f4b9c8299f4a11b899e5ab43467d8473bc06a844786c4391f3f816673d602413</open-checksum>
-    <location xml:base="media://1310044044.532095#1" href="repodata/c3797545a90f38e0738506e2b19c9a61e465f777156e0e1418a094d9ee08f23a-filelists.xml.gz"/>
+    <location xml:base="media://1310229985.226287#1" href="repodata/c3797545a90f38e0738506e2b19c9a61e465f777156e0e1418a094d9ee08f23a-filelists.xml.gz"/>
   </data>
   <data type="primary_db">
-    <location xml:base="media://1310044044.532095#1" href="repodata/80381e2b79fcd2ca61a289c783fcf29e6715912fa2e28b3e955b94c6e6725691-primary.sqlite.bz2"/>
-    <checksum type="sha256">80381e2b79fcd2ca61a289c783fcf29e6715912fa2e28b3e955b94c6e6725691</checksum>
-    <timestamp>1310044477.57</timestamp>
-    <size>4375011</size>
+    <location xml:base="media://1310229985.226287#1" href="repodata/ffb0e227e2cdd8a2b3609b65d7f38f6c1e756b437405b2918d6d36ebe59a0cb4-primary.sqlite.bz2"/>
+    <checksum type="sha256">ffb0e227e2cdd8a2b3609b65d7f38f6c1e756b437405b2918d6d36ebe59a0cb4</checksum>
+    <timestamp>1310230422.81</timestamp>
+    <size>4375882</size>
     <open-size>19915776</open-size>
-    <open-checksum type="sha256">76b00fa614ae6691a30f60a3acae9886ad84b248d72673746db6518c7e356376</open-checksum>
+    <open-checksum type="sha256">5bfd617cf5cf192dc2fd74d5f429d319313c04ccf96ce85718fe9515628a60e5</open-checksum>
     <database_version>10</database_version>
   </data>
   <data type="primary">
-    <checksum type="sha256">b5f258df6a887534bb37ef8de488f238726ef2e0b4ded2180d756c45c6d843dd</checksum>
-    <timestamp>1310044450</timestamp>
-    <size>2470731</size>
+    <checksum type="sha256">419f44d9f4e345e677c6ab519b62e2228cbcdf9c523d01d6a029fa4f02f66406</checksum>
+    <timestamp>1310230395</timestamp>
+    <size>2470810</size>
     <open-size>16478243</open-size>
-    <open-checksum type="sha256">b933586069940e14f96b8ce2c0cbdfbe648ae0f6986edd0bf78ace4f5313e975</open-checksum>
-    <location xml:base="media://1310044044.532095#1" href="repodata/b5f258df6a887534bb37ef8de488f238726ef2e0b4ded2180d756c45c6d843dd-primary.xml.gz"/>
+    <open-checksum type="sha256">9196e4de0ddeb13e4ca36532a5dc00f054dab340ceb799e8dd87cbf2ad77085f</open-checksum>
+    <location xml:base="media://1310229985.226287#1" href="repodata/419f44d9f4e345e677c6ab519b62e2228cbcdf9c523d01d6a029fa4f02f66406-primary.xml.gz"/>
   </data>
   <data type="group_gz">
-    <location xml:base="media://1310044044.532095#1" href="repodata/ef31b9351dab1a0ae826b0f1ca136059acdb81227fd7ff7d78099c5c58cfa035-c6-x86_64-comps.xml.gz"/>
-    <checksum type="sha256">ef31b9351dab1a0ae826b0f1ca136059acdb81227fd7ff7d78099c5c58cfa035</checksum>
-    <open-checksum type="sha256">947c06b3449529ce6dea6c2610150b5c6f029094ab83093210765a866a528c6c</open-checksum>
-    <timestamp>1310044477</timestamp>
+    <location xml:base="media://1310229985.226287#1" href="repodata/c89fe3615797af0f5fcf9f53ebb36a605e713680139da34f71c4fe198ba9699e-c6-x86_64-comps.xml.gz"/>
+    <checksum type="sha256">c89fe3615797af0f5fcf9f53ebb36a605e713680139da34f71c4fe198ba9699e</checksum>
+    <open-checksum type="sha256">2a7e0c1da38a40e2961c0cec6acca8b8446d974b1fc055216ebde88bb4a19eb9</open-checksum>
+    <timestamp>1310230422</timestamp>
   </data>
   <data type="group">
-    <location xml:base="media://1310044044.532095#1" href="repodata/947c06b3449529ce6dea6c2610150b5c6f029094ab83093210765a866a528c6c-c6-x86_64-comps.xml"/>
-    <checksum type="sha256">947c06b3449529ce6dea6c2610150b5c6f029094ab83093210765a866a528c6c</checksum>
-    <timestamp>1310044477</timestamp>
+    <location xml:base="media://1310229985.226287#1" href="repodata/2a7e0c1da38a40e2961c0cec6acca8b8446d974b1fc055216ebde88bb4a19eb9-c6-x86_64-comps.xml"/>
+    <checksum type="sha256">2a7e0c1da38a40e2961c0cec6acca8b8446d974b1fc055216ebde88bb4a19eb9</checksum>
+    <timestamp>1310230422</timestamp>
   </data>
 </repomd>
diff -r -u /mnt_cent6.0_dvd1_xxxxx/repodata/TRANS.TBL /mnt_cent6.0_dvd1_final/repodata/TRANS.TBL
--- /mnt_cent6.0_dvd1_xxxxx/repodata/TRANS.TBL  2011-07-07 22:14:38.000000000 +0900
+++ /mnt_cent6.0_dvd1_final/repodata/TRANS.TBL  2011-07-10 01:53:43.000000000 +0900
@@ -1,10 +1,10 @@
-F 52AD0604.GZ;1                                                                                                                                                                                                     52ad0604bc6f4555d84bb0c32e2213a3a8008091993eae46d8100ade6117fbe4-c6-x86_64-comps.xml.gz
+F 2A7E0C1D.XML;1                                                                                                                                                                                                    2a7e0c1da38a40e2961c0cec6acca8b8446d974b1fc055216ebde88bb4a19eb9-c6-x86_64-comps.xml
+F 419F44D9.GZ;1                                                                                                                                                                                                     419f44d9f4e345e677c6ab519b62e2228cbcdf9c523d01d6a029fa4f02f66406-primary.xml.gz
 F 5ABE055F.BZ2;1                                                                                                                                                                                                    5abe055f4bf7a1670d7b48a8172bec678861f2bcb8bc001ec3afa934638edc91-other.sqlite.bz2
-F 80381E2B.BZ2;1                                                                                                                                                                                                    80381e2b79fcd2ca61a289c783fcf29e6715912fa2e28b3e955b94c6e6725691-primary.sqlite.bz2
-F 947C06B3.XML;1                                                                                                                                                                                                    947c06b3449529ce6dea6c2610150b5c6f029094ab83093210765a866a528c6c-c6-x86_64-comps.xml
-F B5F258DF.GZ;1                                                                                                                                                                                                     b5f258df6a887534bb37ef8de488f238726ef2e0b4ded2180d756c45c6d843dd-primary.xml.gz
 F C3797545.GZ;1                                                                                                                                                                                                     c3797545a90f38e0738506e2b19c9a61e465f777156e0e1418a094d9ee08f23a-filelists.xml.gz
+F C89FE361.GZ;1                                                                                                                                                                                                     c89fe3615797af0f5fcf9f53ebb36a605e713680139da34f71c4fe198ba9699e-c6-x86_64-comps.xml.gz
 F D30E7A40.BZ2;1                                                                                                                                                                                                    d30e7a407b0f019826c949cbc814944e6d178242abcadb5e79a891002cfb0107-filelists.sqlite.bz2
 F D4B0B371.GZ;1                                                                                                                                                                                                     d4b0b37148f088ff02731d7c5d12af279fc6bfa1bde26aa2c4ccf18f2ac0d493-other.xml.gz
-F EF31B935.GZ;1                                                                                                                                                                                                     ef31b9351dab1a0ae826b0f1ca136059acdb81227fd7ff7d78099c5c58cfa035-c6-x86_64-comps.xml.gz
+F E601759C.GZ;1                                                                                                                                                                                                     e601759c6eed524aa4d8c5267f087f6c72491e3d811b3c937438e7a9b0747130-c6-x86_64-comps.xml.gz
+F FFB0E227.BZ2;1                                                                                                                                                                                                    ffb0e227e2cdd8a2b3609b65d7f38f6c1e756b437405b2918d6d36ebe59a0cb4-primary.sqlite.bz2
 F REPOMD.XML;1                                                                                                                                                                                                      repomd.xml
diff -r -u /mnt_cent6.0_dvd1_xxxxx/.treeinfo /mnt_cent6.0_dvd1_final/.treeinfo
--- /mnt_cent6.0_dvd1_xxxxx/.treeinfo   2011-07-07 22:07:21.000000000 +0900
+++ /mnt_cent6.0_dvd1_final/.treeinfo   2011-07-10 01:46:22.000000000 +0900
@@ -1,6 +1,6 @@
 [general]
 family = CentOS
-timestamp = 1310043725.69
+timestamp = 1310229667.07
 variant = 
 totaldiscs = 1
 version = 6.0
これを見ると、RPM が格納されている Packages ディレクトリ下には差分が無いですから、インストール後の実行環境には差が無いのでは? と思いましたが、はて?
EFI ブートで何かあったのかな?(efiboot.img が差し替わっているので)

DVD2 のほうも同様に。
[root@centos6 ~]# sha1sum /dev/scd0
5e3834621f11fbcca78cf7d70625c647045f45f5  /dev/scd0  ※こちらがリリース版の x86_64 DVD2
[root@centos6 ~]# sha1sum /dev/scd1
e09c6406c0658dbe28beec363c7adfb0c2c5c3f7  /dev/scd1  ※差し替え前の版
[root@centos6 ~]# mkdir /mnt_cent6.0_dvd2_final
[root@centos6 ~]# mkdir /mnt_cent6.0_dvd2_xxxxx
[root@centos6 ~]# mount /dev/scd0 /mnt_cent6.0_dvd2_final
mount: block device /dev/sr0 is write-protected, mounting read-only
[root@centos6 ~]# mount /dev/scd1 /mnt_cent6.0_dvd2_xxxxx
mount: block device /dev/sr1 is write-protected, mounting read-only
[root@centos6 ~]# ls -ld /mnt_cent6.0_dvd2_*
drwxr-xr-x 3 root root 2048 Jul 10 01:51 /mnt_cent6.0_dvd2_final
drwxr-xr-x 3 root root 2048 Jul  7 22:11 /mnt_cent6.0_dvd2_xxxxx
diff を採取。
[root@centos6 ~]# diff -r -u /mnt_cent6.0_dvd2_xxxxx /mnt_cent6.0_dvd2_final
diff -r -u /mnt_cent6.0_dvd2_xxxxx/CentOS_BuildTag /mnt_cent6.0_dvd2_final/CentOS_BuildTag
--- /mnt_cent6.0_dvd2_xxxxx/CentOS_BuildTag     2011-07-07 22:07:27.000000000 +0900
+++ /mnt_cent6.0_dvd2_final/CentOS_BuildTag     2011-07-10 01:46:25.000000000 +0900
@@ -1 +1 @@
-20110707-1307
+20110709-1646
diff -r -u /mnt_cent6.0_dvd2_xxxxx/.discinfo /mnt_cent6.0_dvd2_final/.discinfo
--- /mnt_cent6.0_dvd2_xxxxx/.discinfo   2011-07-07 22:11:58.000000000 +0900
+++ /mnt_cent6.0_dvd2_final/.discinfo   2011-07-10 01:51:03.000000000 +0900
@@ -1,4 +1,4 @@
-1310044044.532095
+1310229985.226287
 6.0
 x86_64
 2
diff -r -u /mnt_cent6.0_dvd2_xxxxx/.treeinfo /mnt_cent6.0_dvd2_final/.treeinfo
--- /mnt_cent6.0_dvd2_xxxxx/.treeinfo   2011-07-07 22:07:21.000000000 +0900
+++ /mnt_cent6.0_dvd2_final/.treeinfo   2011-07-10 01:46:22.000000000 +0900
@@ -1,6 +1,6 @@
 [general]
 family = CentOS
-timestamp = 1310043725.69
+timestamp = 1310229667.07
 variant = 
 totaldiscs = 1
 version = 6.0
というわけで、DVD2 については、単にISOイメージの再作成をしただけで、中身は変わらないみたいです。

0 件のコメント:

コメントを投稿

人気ブログランキングへ にほんブログ村 IT技術ブログへ