Changes between Version 42 and Version 43 of VineBootstrap


Ignore:
Timestamp:
2011/04/23 21:49:11 (13 years ago)
Author:
munepi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VineBootstrap

    v42 v43  
    11[[PageOutline]] 
    22= Getting Started = 
    3 hoge.src.rpmからVine Linux 5.1/i386用のバイナリパッケージを作成する方法。 
    4 {{{ 
    5 # vbuilder --version 5.1 --arch i386 clean build 
    6 # vbuilder --version 5.1 --arch i386 --unionfs clean build build-rpm /path/to/hoge.src.rpm 
    7 }}} 
    8 はじめにVine Linux 5.1/i386の環境を用意し、次にunionfs上でhoge.src.rpmのビルドを実施。 
     3hoge.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のビルドを実施。 
    99 
    1010= vbootstrap - bootstrap a basic Vine Linux system = 
     
    135135}}} 
    136136 
    137 == vbootstrap-0.0.35 に同梱されている 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} {--bootstrap-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} 
     137== vbootstrap-0.0.42 に同梱されている vbuilder のヘルプ == 
     138 
     139{{{ 
     140Usage:  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} 
    141141 
    142142Options: 
     
    153153        --sign:                 sign built rpms 
    154154        --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) 
    156158        --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 
    158162 
    159163Actions: 
     
    183187    4.2_i386 
    184188    5.2 
     189    5.2_arm 
    185190    5.2_i386 
    186191    VineSeed 
     192    VineSeed_arm 
    187193    VineSeed_i386 
    188194}}} 
     
    365371== TODO == 
    366372 
    367  * vbootstrap に例外処理とかエラー処理を入れる 
    368373 * BaseSystem の構築方法をいくつか増やす 
    369374   * tarball 
    370375 * vchroot を作成 
    371  * 複数の bootstrap 管理 
    372    * /var/lib/vbootstrap 以下に、name, version, arch , workdir データを保存 
    373    * --name, --workdir オプションの検討 
    374    * 実行したコマンド履歴を保存、閲覧 
     376 * プロファイル (--profile <profile>):複数の bootstrap 管理 
     377   * <profile> = <version>_<arch>_<conf> 
    375378 * fakeroot, fakechroot への対応 
    376379 * ~~stable/old-stableバージョンのmainカテゴリのみの環境構築 (security fix/proposed-updateなどのパッケージ作成に有用)~~ (done)