Browse Source

- add --force rpm option to install packages in vbootstrap
- add RPM::PM="external" for use external rpm
- add RPM::Install-Options::=--force to force option



git-svn-id: http://trac.vinelinux.org/repos/projects/vbootstrap/trunk@6874 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 10 years ago
parent
commit
40b6b73e5a
2 changed files with 9 additions and 2 deletions
  1. 6 1
      vbootstrap-vl.spec
  2. 3 1
      vbootstrap.sh.in

+ 6 - 1
vbootstrap-vl.spec

@@ -1,7 +1,7 @@
 # This package is maintained on trac svn repository. Please do not change on local.
 # If you find a BUG, please report to Vine@vinelinux.org or mailing list or BTS.
 
-%define version 0.0.58
+%define version 0.0.59
 
 Summary: bootstrap scripts to create a basic Vine Linux system
 Summary(ja): Vine Linux の基本システムを作成するためのスクリプト
@@ -91,6 +91,11 @@ vbuilder は vbootstrap を利用して chroot 環境の構築し、
 
 
 %changelog
+* Wed Oct 03 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.59-1
+- add --force rpm option to install packages in vbootstrap
+  - add RPM::PM="external" for use external rpm
+  - add RPM::Install-Options::=--force to force option
+
 * Sat Aug 11 2012 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.58-1
 - set VBUILDER_STABLE_VERSION=6 in Makefile
 - updated po files

+ 3 - 1
vbootstrap.sh.in

@@ -70,7 +70,9 @@ APT_OPTS="
     -o RPM::RootDir=$INSTDIR
     -o Dir::Etc::sourceparts=$INSTDIR/etc/apt/sources.list.d 
     -o Dir::State=$INSTDIR/var/lib/apt
-    -o Dir::Cache=$INSTDIR/var/cache/apt "
+    -o Dir::Cache=$INSTDIR/var/cache/apt 
+    -o RPM::PM=\"external\"
+    -o RPM::Install-Options::=--force "
 
 ##