On Tuesday 27 January 2009 07:04:34 sf...@users.sourceforge.net wrote: > Hi, > > Yuri Chislov: > > Two notes about build of the aufs2-util from aufs2-base2-2.6.27. > > 1. missing aufs.shlib. I hope, that one from CVS version is suitable. > > make: *** No rule to make target `aufs.shlib', needed by > > `etc_default_aufs'. Stop. > > 2. Makefile doesn't support DESTDIR= option > > Thank you for trying aufs2. > The report is helpful. > > I have updated aufs2-base2 release just now. The new filename is > aufs2-base2-2-2.6.27.tar.bz2. > - add aufs.shlib > - add DESTDIR and some notes in aufs2-base2-2.6.27.txt. but some > commands have to be put under /sbin. So DESTDIR is applied to others. > > > J. R. Okajima
Hi, I mean something like: 51 install_sbin: File = mount.aufs umount.aufs auplink 52 install_sbin: TgtDir = ${DESTDIR}/sbin 53 install_ubin: File = auchk #aubrsync auctl 54 install_ubin: TgtDir = ${DESTDIR}/usr/bin 55 install_etc: File = etc_default_aufs 56 install_etc: TgtDir = ${DESTDIR}/etc/default 57 install_etc: TgtFile = aufs 58 install_sbin install_ubin install_etc: ${File} 59 if [ ! -d ${TgtDir} ];then mkdir -p ${TgtDir};fi 60 install -m 755 -o root -g root -p ${File} ${TgtDir}/${TgtFile} 61 install: install_sbin install_ubin install_etc That allow use "make DESTDIR=/tmp/aufs install" to get files tree under /tmp/aufs. Yuri. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword