v42 | v43 | |
---|---|---|
1 | 1 | [[PageOutline]] |
2 | 2 | = Getting Started = |
3 | hoge.src.rpmからVine Linux 5. |
|
4 | {{{ |
|
5 | # vbuilder --version 5. |
|
6 | # vbuilder --version 5. |
|
7 | }}} |
|
8 | はじめにVine Linux 5. |
|
3 | hoge.src.rpmからVine Linux 5.2/i386用のバイナリパッケージを作成する方法。 | |
4 | {{{ | |
5 | # vbuilder --version 5.2 --arch i386 clean build | |
6 | # vbuilder --version 5.2 --arch i386 --unionfs clean build build-rpm /path/to/hoge.src.rpm | |
7 | }}} | |
8 | はじめにVine Linux 5.2/i386の環境を用意し、次にunionfs上でhoge.src.rpmのビルドを実施。 | |
9 | 9 | |
10 | 10 | = vbootstrap - bootstrap a basic Vine Linux system = |
… | … | |
135 | 135 | }}} |
136 | 136 | |
137 | == vbootstrap-0.0. |
|
138 | ||
139 | {{{ |
|
140 | Usage: vbuilder {--version [version]} {--arch [arch]} {--category [categories]} {--dist-upgrade} {--target [target]} {--with-compat32} {--rpmbuild-define [macro_expr]} {--rpmbuild-with [bcond_with]} {--rpmbuild-without [bcond_with]} {--sign} {--no-install} {-- |
|
137 | == vbootstrap-0.0.42 に同梱されている vbuilder のヘルプ == | |
138 | ||
139 | {{{ | |
140 | Usage: vbuilder {--version [version]} {--arch [arch]} {--category [categories]} {--dist-upgrade} {--target [target]} {--with-compat32} {--rpmbuild-define [macro_expr]} {--rpmbuild-with [bcond_with]} {--rpmbuild-without [bcond_with]} {--sign} {--no-install} {--debug} {--help} {--bootstrap-dir [directory]} {--unionfs-dir [directory]} {--cache-dir [directory]} {--built-rpms-dir [directory]} {clean|build|build-rpm [src.rpm]|install-rpm [arch.rpm|package]|remove-rpm [package]|show-info} | |
141 | 141 | |
142 | 142 | Options: |
… | … | |
153 | 153 | --sign: sign built rpms |
154 | 154 | --no-install: build only a source rpm - do NOT install a built rpm |
155 | --bootstrap-dir: set a bootstrap directory (default: /dev/shm/vbootstrap) | |
155 | --login: login in chroot as root user | |
156 | --bootstrap-dir: set a bootstrap directory (default: /var/local/vbootstrap) | |
157 | --unionfs-dir: set a directory to store unionfs images of vbootstrap (default: /var/local/vbootstrap/unionfs) | |
156 | 158 | --cache-dir: set a directory to cache rpms (default: /var/local/vbootstrap/cache) |
157 | --built-rpms-dir: set a directory to store built rpms in chroot (default: /home/munepi/rpm/vbuilder) | |
159 | --built-rpms-dir: set a directory to store built rpms in chroot (default: /root/rpm/vbuilder) | |
160 | --debug: enable debug mode | |
161 | --help: show this help | |
158 | 162 | |
159 | 163 | Actions: |
… | … | |
183 | 187 | 4.2_i386 |
184 | 188 | 5.2 |
189 | 5.2_arm | |
185 | 190 | 5.2_i386 |
186 | 191 | VineSeed |
192 | VineSeed_arm | |
187 | 193 | VineSeed_i386 |
188 | 194 | }}} |
… | … | |
365 | 371 | == TODO == |
366 | 372 | |
367 | ||
368 | 373 | * BaseSystem の構築方法をいくつか増やす |
369 | 374 | * tarball |
370 | 375 | * vchroot を作成 |
371 | * 複数の bootstrap 管理 | |
372 | * /var/lib/vbootstrap 以下に、name, version, arch , workdir データを保存 | |
373 | * --name, --workdir オプションの検討 | |
374 | * 実行したコマンド履歴を保存、閲覧 | |
376 | * プロファイル (--profile <profile>):複数の bootstrap 管理 | |
377 | * <profile> = <version>_<arch>_<conf> | |
375 | 378 | * fakeroot, fakechroot への対応 |
376 | 379 | * ~~stable/old-stableバージョンのmainカテゴリのみの環境構築 (security fix/proposed-updateなどのパッケージ作成に有用)~~ (done) |