Hi
I think there may be an error when using jhalfs to build
current svn clfs
It looks from the makefile that it is using the kernel
package rather
than linux-headers package in first stage of build
extract from makefile
>>>>
031-linux-headers: 026-settingenvironment
$(call echo_message, Building)
./progress_bar.sh $ &
echo -e "\n`date`\n\nKB: `du -skx
--exclude=jhalfs $(MOUNT_PT)`\n"
>logs/031-linux-headers
PKG_PATH=`ls -t
$(MOUNT_PT)$(SRC)/linux-2.6.16.20.tar.* | head -n1`
&& \
ROOT=`tar -tf $$PKG_PATH | head -n1 | sed -e 's ^./ ;s /.* '`
&& \
[[ -n $$ROOT ]] && \
rm -rf $(MOUNT_PT)$(SRC)/$$ROOT && \
if [ -e $(MOUNT_PT)$(SRC)/linux-build ]; then \
rm -rf $(MOUNT_PT)$(SRC)/linux-build; \
fi;
$(call unpack,linux-2.6.16.20.tar.*)
ROOT=`head -n1 $(MOUNT_PT)$(SRC)/$(PKG_LST) | sed
's ^./ ;s /.* '` && \
echo "export
PKGDIR=$(MOUNT_PT)$(SRC)/$$ROOT" > envars
&& \
chown -R lfs $(MOUNT_PT)$(SRC)/$$ROOT
( time { su - lfs -c "source /home/lfs/.bashrc
&&
/mnt/lfs/jhalfs/clfs-commands/cross-tools/031-linux-headers
"
>>logs/031-linux-headers 2>&1 ; } )
2>>logs/031-linux-headers && \
echo -e "\nKB: `du -skx --exclude=jhalfs
$(MOUNT_PT)`\n"
>>logs/031-linux-headers
ROOT=`head -n1 $(MOUNT_PT)$(SRC)/$(PKG_LST) | sed
's ^./ ;s /.* '` && \
rm -r $(MOUNT_PT)$(SRC)/$$ROOT && \
if [ -e $(MOUNT_PT)$(SRC)/linux-build ]; then \
rm -r $(MOUNT_PT)$(SRC)/linux-build; \
fi;
touch $ && \
sleep .25 && \
echo -e "\n\n "$(BOLD)Target $(BLUE)$
$(BOLD)OK && \
>>>>>
the unpack line clearly shows linux-2.6.16.20.tar.* rather
than
linux-headers package
The makefile appears to be correct for the second stage
>>>>
094-linux-headers: 093-temp-perl
$(call echo_message, Building)
./progress_bar.sh $ &
echo -e "\n`date`\n\nKB: `du -skx
--exclude=jhalfs $(MOUNT_PT)`\n"
>logs/094-linux-headers
PKG_PATH=`ls -t
$(MOUNT_PT)$(SRC)/linux-headers-&linux-version;-06092006
.tar.* | head
-n1` && \
ROOT=`tar -tf $$PKG_PATH | head -n1 | sed -e 's ^./ ;s /.* '`
&& \
[[ -n $$ROOT ]] && \
rm -rf $(MOUNT_PT)$(SRC)/$$ROOT && \
if [ -e
$(MOUNT_PT)$(SRC)/linux-headers-&linux-version;-build ];
then \
rm -rf
$(MOUNT_PT)$(SRC)/linux-headers-&linux-version;-build;
\
fi;
$(call
unpack2,linux-headers-&linux-version;-06092006.tar.*)
ROOT=`head -n1 $(MOUNT_PT)$(SRC)/$(PKG_LST) | sed
's ^./ ;s /.* '` && \
echo "export PKGDIR=$(SRC)/$$ROOT" >
envars
( time { $(CHROOT1) 'cd /jhalfs && source
envars &&
/jhalfs/clfs-commands/final-system/094-linux-headers
>>/jhalfs/logs/094-linux-headers 2>&1' ; } )
2>>logs/094-linux-headers && \
echo -e "\nKB: `du -skx --exclude=jhalfs
$(MOUNT_PT)`\n"
>>logs/094-linux-headers
ROOT=`head -n1 $(MOUNT_PT)$(SRC)/$(PKG_LST) | sed
's ^./ ;s /.* '` && \
rm -r $(MOUNT_PT)$(SRC)/$$ROOT && \
if [ -e $(MOUNT_PT)$(SRC)/linux-headers-build ]; then \
rm -r $(MOUNT_PT)$(SRC)/linux-headers-build; \
fi;
touch $ && \
sleep .25 && \
echo -e "\n\n "$(BOLD)Target $(BLUE)$
$(BOLD)OK && \
echo ---------------------------------------------------
>>>>
Is this a jhalfs issue or a clfs xml issue ?
Thanks
DaveM
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page
|