前回,
4.
更新したパッケージはインストーラのカテゴリ分けに従って分類されているので,
更新したパッケージを確認
% ls 00_base/ 02_x11/ 05_kde/ 07_tex/ 09_webdb/ md5sum 01_minimum/ 03_ext/ 06_gnome/ 08_kernel/ README % ls -R ./00_base: bash-3.2.50-i586-P1.tgz openssl-0.9.8l-i586-P1.tgz dhcp-3.1.3-i586-P1.tgz readline5-5.2.14-i386-P1.tgz kernel-2.6.31.6_plamoSMP-i586-P1.tgz update-4.71-noarch-P6.tgz openssh-5.3p1-i586-P1.tgz update.sh* ./01_minimum: bc-1.06-i586-P3.tgz kernel_headers-2.6.31.6_plamoSMP-i386-P1.tgz ...
それぞれのディレクトリには簡単なアップデート用のスクリプト
これらのディレクトリに入っているのは4.
4.
パッケージ数的には細かくモジュール化されて個数が増えたxorgサーバを更新した結果,
PlamoBuildスクリプトとメタ・ ビルドスクリプト
前回紹介したように,
一方,
このように考えて,
このPlamoBuildスクリプトを作るためのスクリプト
メタ・
make_
% ls xwd-1.0.3.tar.bz2 % /share/Srcs/make_PlamoBuild.py xwd-1.0.3.tar.bz2 dirname = xwd-1.0.3 making PlamoBuild.xwd-1.0.3 ... % ls PlamoBuild.xwd-1.0.3* xwd-1.0.3/ xwd-1.0.3.tar.bz2
生成されたPlamoBuildスクリプト
PlamoBuildスクリプトのヘッダ部
#!/bin/sh
##############################################################
url='input sourcecode url here'
pkgbase=xwd
vers=1.0.3
arch=i586
build=P1
src=xwd-1.0.3
OPT_CONFIG='--build=i586-pc-linux --disable-static'
DOCS='AUTHORS COPYING ChangeLog INSTALL NEWS README'
patchfiles=''
##############################################################
....
生成したPlamoBuildスクリプトは,
PlamoBuildスクリプトの実行例
% ./PlamoBuild.xwd-1.0.3 configure: WARNING: unrecognized options: --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p ... make[1]: ディレクトリ `/home/kojima/Test/build' に入ります CC clientwin.o CC dsimple.o ... make[1]: ディレクトリ `/home/kojima/Test/build' から出ます Do you want to package as root? [y/N] n make[1]: ディレクトリ `/home/kojima/Test/build' に入ります ... pruning symlink in /home/kojima/Test/work/usr/share/man/mann Making ../xwd-1.0.3-i586-P1.tgz... % ls PlamoBuild.xwd-1.0.3* i.et pivot/ xwd-1.0.3/ xwd-1.0.3.tar.bz2 build/ i.st work/ xwd-1.0.3-i586-P1.tgz
メタ・