Browse Source

fixed the target link in vbootstrap/Makefile: linked consolehelper to vbuilder

git-svn-id: http://trac.vinelinux.org/repos/projects/vbootstrap/trunk@2536 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 13 years ago
parent
commit
6baae67094
2 changed files with 3 additions and 0 deletions
  1. 2 0
      Makefile
  2. 1 0
      vbootstrap-vl.spec

+ 2 - 0
Makefile

@@ -33,6 +33,7 @@ all:
 
 install:
 	install -d ${DESTDIR}/usr/share/vbootstrap/{scripts,sources.list.d}
+	install -d ${DESTDIR}/usr/bin
 	install -d ${DESTDIR}/usr/sbin
 	install -d ${DESTDIR}/etc/vbootstrap
 	install -d ${DESTDIR}/etc/security/console.apps
@@ -46,6 +47,7 @@ install:
 	install -m 755 vbootstrap.sh ${DESTDIR}/usr/sbin/vbootstrap
 	install -m 755 vbuilder.sh ${DESTDIR}/usr/sbin/vbuilder
 	install -m 644 vbuilder.conf ${DESTDIR}/etc/vbootstrap/vbuilder.conf
+	cd ${DESTDIR}/usr/bin && ln -sf consolehelper vbuilder
 	install -m 644 vbuilder.console ${DESTDIR}/etc/security/console.apps/vbuilder
 	install -m 644 vbuilder.pamd ${DESTDIR}/etc/pam.d/vbuilder
 	install -m 644 vbuilder-bash-completion.sh ${DESTDIR}/etc/bash_completion.d/vbuilder

+ 1 - 0
vbootstrap-vl.spec

@@ -68,6 +68,7 @@ vbuilder は vbootstrap を利用して chroot 環境の構築し、
 
 %files -f %{name}.lang
 %defattr(-,root,root)
+%{_bindir}/vbuilder
 %{_sbindir}/vbootstrap
 %{_sbindir}/vbuilder
 %dir %{_datadir}/vbootstrap