Pierre Labastie wrote:
It seems that the VERSION=196 instruction should be changed
to VERSION=196-2 in udev-lfs-196-2/Makefile.lfs.

Otherwise the 'include' instructions fails when running

make -f udev-lfs-196-2/Makefile.lfs

Humm, thanks Pierre. I'll have to think about how to address that. There are some places that need the systemd-version and others that would need the lfs version.

Of course the next version would be udev-lfs-196-3 unless systemd-197 comes out. How does the attached patch work for you? Apply with:

tar -xf systemd-196.tar.xz
cd systemd-196
tar -xf ../udev-lfs-196-2.tar.bz2

cd udev-lfs-196-2
patch -Np0 -i /file-location/systemd196.patch
cd ..

make -f udev-lfs-196-2/Makefile.lfs

  -- Bruce


Index: Makefile.lfs
===================================================================
--- Makefile.lfs	(revision 10054)
+++ Makefile.lfs	(working copy)
@@ -4,7 +4,8 @@
 # vim: tabstop=3
 
 SHELL=/bin/bash
-VERSION=196
+SYSTEMD_VERSION=196
+VERSION=196-2
 
 ifeq ($(V),)
  VB = @
@@ -137,7 +138,7 @@
         src/libudev        src/libsystemd-daemon
 
 SED_PROCESS = \
-  sed  -e 's|@VERSION@|$(VERSION)|g'       \
+  sed  -e 's|@VERSION@|$(SYSTEMD_VERSION)|g'       \
        -e 's|@prefix@|/usr|g'              \
        -e 's|@exec_prefix@|/usr|g'         \
        -e 's|@udevlibexecdir@|/lib/udev|g' \
@@ -162,7 +163,7 @@
       build/libudev.pc
 
 cfg.h: udev-lfs-$(VERSION)/cfg.h
-	sed  -e 's/LFS-VERSION/$(VERSION)/' udev-lfs-$(VERSION)/cfg.h > ./cfg.h
+	sed  -e 's/LFS-VERSION/$(SYSTEMD_VERSION)/' udev-lfs-$(VERSION)/cfg.h > ./cfg.h
 	@mkdir -p build
 
 common: cfg.h 
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to