Bruce Dubbs wrote:
> I'm afraid the changes I made to lfs have broken alfs. The instructions
> in the lfs-commands/chapter6/udev-124 are OK, but the master Makefile
> doesn't know how to extract systemd-186.tar.xz
>
> What is created now is:
>
> 124-udev: 123-texinfo
> @$(call echo_message, Building)
> # @export BASHBIN=$(SHELL) && $(SHELL) progress_bar.sh $@ $$PPID &
> @echo "$(nl_)`date`$(nl_)" >logs/$@
> @$(PRT_DU_CR) >>logs/$@
> @source envars && \
> $(crCMDSDIR)/chapter06/$@ >>logs/$@ 2>&1 && \
> $(PRT_DU_CR) >>logs/$@
> @$(call housekeeping)
>
> But we need:
>
> @$(call touch_timestamp)
> @$(call remove_existing_dirs2,systemd-186.tar.xz)
> @$(call unpack2,systemd-186.tar.xz)
> @$(call get_pkg_root2)
> @echo "export TEST_LOG=$(crTESTLOGDIR)/124-systemd" >> envars && \
> echo "$(nl_)`date`$(nl_)" >test-logs/$@
>
> inserted right after the 4th line. I'm not sure how jhalfs determines
> this. It's possible that I can make a change to LFS to make things
> right, but I don't know what is needed.
OK, this seems to fix it:
$ svn diff
Index: common/libs/func_wrt_Makefile
===================================================================
--- common/libs/func_wrt_Makefile (revision 3635)
+++ common/libs/func_wrt_Makefile (working copy)
@@ -99,9 +99,11 @@
util-linux-libs) echo $(grep "^util-linux"
$JHALFSDIR/pkg_tarball_list | head -n1 )
;;
xz-utils) echo $(grep "^xz" $JHALFSDIR/pkg_tarball_list | head -n1 )
- ;;
+ ;;
sqlite) echo $(grep "^sqlite" $JHALFSDIR/pkg_tarball_list | head
-n1 )
- ;;
+ ;;
+ udev) echo $(grep "^systemd" $JHALFSDIR/pkg_tarball_list | head -n1 )
+ ;;
*) echo $(grep "^$script_name[_-][[:digit:]]"
$JHALFSDIR/pkg_tarball_list | head -n1 )
;;
esac
Note that I removed two literal tab characters. Only th elast two lines
are essential.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page