Browse Source

vbootstrap/vbuilder:
- 仮想パッケージへのビルド依存を解決するため apt-get build-dep 実行時に
APT::Install::Virtual=true オプションを追加した (既知の問題の修正)


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

daisuke 14 years ago
parent
commit
b1935a4ab7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vbuilder.sh.in

+ 1 - 1
vbuilder.sh.in

@@ -750,7 +750,7 @@ RPM_Build(){
     BASE_RPM_PKG=$(echo $BASE_RPM_PKG | sed -e "s/vl\([0-9]*\)\./vl${DIST_RELEASE}\./")
 
     ## rebuild $BASE_RPM_PKG on ${DIST_RELEASE}
-    $__chroot_sh "cd ${BUILD_DIR}/SRPMS && apt-get -y build-dep $BASE_RPM_PKG"
+    $__chroot_sh "cd ${BUILD_DIR}/SRPMS && apt-get -o APT::Install::Virtual=true -y build-dep $BASE_RPM_PKG"
     $__chroot_sh "cd ${BUILD_DIR}/SRPMS && su ${BUILD_USER} -c 'rpmbuild --rebuild $RPM_OPTS $BASE_RPM_PKG'"
     $__chroot_sh "cd ${BUILD_DIR} && apt-get -y install $(find $BUILD_ROOT${BUILD_DIR}/RPMS -type f -regex '.*\.rpm' | sed -e s@${BUILD_ROOT}@@g -e 's|.*\/compat32-.*||g' -e 's|.*\/.*\.src\.rpm||g' -e 's/$/ \\/g')"