[lfs-dev] util-linux-2.24.1 in chapter05

John Burrell john_burrell at hotmail.com
Thu Jan 23 13:40:03 PST 2014

I periodically recreate the /tools dir so I can update chapter 6.

I get this when installing util-linux in chapter 5:

 /tools/bin/mkdir -p '/usr/lib/systemd/system'
 /tools/bin/install -c -m 644 misc-utils/uuidd.service misc-utils/uuidd.socket '/usr/lib/systemd/system'
/tools/bin/install: cannot remove '/usr/lib/systemd/system/uuidd.service': Permission denied
/tools/bin/install: cannot remove '/usr/lib/systemd/system/uuidd.socket': Permission denied
Makefile:10212: recipe for target 'install-systemdsystemunitDATA' failed
make[3]: *** [install-systemdsystemunitDATA] Error 1
make[3]: Leaving directory '/mnt/lfs/build/utillinux/util-linux-2.24.1'
Makefile:10759: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/mnt/lfs/build/utillinux/util-linux-2.24.1'
Makefile:10303: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/mnt/lfs/build/utillinux/util-linux-2.24.1'
Makefile:10753: recipe for target 'install' failed
make: *** [install] Error 2

I have systemd installed, as you can see.

In the toplevel Makefile there is this:

systemdsystemunitdir = /usr/lib/systemd/system

It would be nice if it observed the ${prefix} that was specified in configure.

--without-systemd isn't recognized so I modified Makefile.


More information about the lfs-dev mailing list