jjhalfs and clfs - error in bootscripts step

David Mascall lfs at mascall.net
Sat Jun 17 23:44:49 PDT 2006


Found another problem running jhalfs for clfs

It fails in the bootscripts stage

Error message is
====
Building target 147-bootscripts

 [|make: *** [147-bootscripts] Error 1                        ] 0 min. 0 
sec.
====

Extract from Makefile for this step
====
147-bootscripts:  145-stripping
    @$(call echo_message, Building)
    @./progress_bar.sh $@ &
    @echo -e "\n`date`\n\nKB: `du -skx --exclude=jhalfs $(MOUNT_PT)`\n" 
 >logs/147-bootscripts
    @( time { $(CHROOT1) 'cd /jhalfs && source envars && 
/jhalfs/clfs-commands/bootscripts/147-bootscripts 
 >>/jhalfs/logs/147-bootscripts 2>&1' ; } ) 2>>logs/147-bootscripts && \
    echo -e "\nKB: `du -skx --exclude=jhalfs $(MOUNT_PT)`\n" 
 >>logs/147-bootscripts
    @touch  $@ && \
    sleep .25 && \
    echo -e "\n\n "$(BOLD)Target $(BLUE)$@ $(BOLD)OK && \

====


Log file
====
/jhalfs/clfs-commands/bootscripts/147-bootscripts: line 4: cd: 
/sources/grub-0.97: No such file or directory
====

contents of 147-bootscripts
====
#!/bin/sh
set -e

cd $PKGDIR
make install
exit
=====

No idea why it is trying to cd into /sources/grub-0.97 when its supposed 
to be installing bootscripts.


DaveM





More information about the alfs-discuss mailing list