Browse Source

updated vbuilder.sh.in: fixed RPM_Build()

git-svn-id: http://trac.vinelinux.org/repos/projects/vbootstrap/trunk@628 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 14 years ago
parent
commit
7c4df32846
2 changed files with 6 additions and 1 deletions
  1. 4 1
      vbootstrap.spec
  2. 2 0
      vbuilder.sh.in

+ 4 - 1
vbootstrap.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.19
+%define version 0.0.20
 
 Summary: bootstrap scripts to create a basic Vine Linux system
 Summary(ja): Vine Linux の基本システムを作成するためのスクリプト
@@ -61,6 +61,9 @@ vbootstrap は Vine Linux の基本システムを既存の Vine Linux システ
 
 
 %changelog
+* Sun Mar 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.0.20-1
+- fixed RPM_Build()
+
 * Fri Mar 05 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.0.19-1
 - remove Retry_vbootstrap-post() from the vbuilder script:
   the trick (implemented in 0.0.18-1) moved to vbootstrap/scripts/* instead

+ 2 - 0
vbuilder.sh.in

@@ -511,6 +511,7 @@ RPM_Remove(){
     mount-chroot unionfs_dir
     mount-chroot cache_dir
     mount-chroot vfs
+    apt-get-update --chroot
 
     if [ -f $RPM_PKG ]; then
 	Msg_NotPackageName_$LOCALE
@@ -544,6 +545,7 @@ RPM_Build(){
     mount-chroot unionfs_dir
     mount-chroot cache_dir
     mount-chroot vfs
+    apt-get-update --chroot
 
     if [ ! -f $RPM_PKG ]; then
 	Msg_NotSourceRPM_$LOCALE