Jeremy Huntwork wrote: > where unionfs is supposed to be built and then, Error. Seems the patch > didn't include a makefile for unionfs. :) Is it a simple compile? If so, > I can just make the Makefile here...
Opps, forgot to "svn add" that Makefile. Sorry. Attached, save as lfs-livecd/packages/unionfs/Makefile. > Also, in the new init you have: > > +for DEV in $DEVS ; do > + if [ "`isoinfo -V $DEV 2>/dev/null`" = "$LABEL" ] ; then > + CDROM=$DEV > + fi > +done > > Shouldn't it be: if [ "`isoinfo -V $DEV 2>/dev/null`" == "$LABEL" ]; ? No, "==" is a bashism that is not understood by "sh" that comes with klibc. -- Alexander E. Patrakov
# Unionfs Makefile # Package versions NM= unionfs VRS= 1.0.11 DIR= $(NM)-$(VRS) FILE= $(DIR).tar.gz URL= ftp://ftp.fsl.cs.sunysb.edu/pub/$(NM)/$(FILE) # RULES .PHONY: clean chroot stage2 chroot: @chroot "$(MP)" $(chenv3) 'cd $(ROOT) && make ch-$(NM) $(chbash2)' stage2: @echo "" @echo "=====> Building $(NM) in chroot" @echo "" @if [ ! -f $(SRC)/$(FILE) ] ; then $(WGET) $(URL) && \ mv $(FILE) $(SRC) ; fi @if [ ! -f /usr/sbin/unionctl ] ; then tar xzvf $(SRC)/$(FILE) && cd $(DIR) && \ make KVERS=$(KVERS) PREFIX=/usr EXTRACFLAGS=-DNODEBUG && \ make KVERS=$(KVERS) PREFIX=/usr EXTRACFLAGS=-DNODEBUG install && \ strip --strip-debug /lib/modules/$(KVERS)/kernel/fs/unionfs.ko ; fi @make clean clean: @-rm -rf $(DIR)
-- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
