#4720: Net-tools-CVS_20101030 ovewrites ifconfig and hostname installed in LFS
--------------------+--------------------------
Reporter: Krejzi | Owner: blfs-book@…
Type: defect | Status: new
Priority: normal | Milestone: 7.6
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: |
--------------------+--------------------------
Comment (by bdubbs@…):
I took a look at the Makefile and almost everything is hard coded. We can
suppress building ifconfig and hostname fairly easily, but the Makefile
does:
{{{
install -m 0755 hostname ${BASEDIR}/bin
install -m 0755 ifconfig ${BASEDIR}/sbin
ln -fs hostname $(BASEDIR)/bin/dnsdomainname
ln -fs hostname $(BASEDIR)/bin/ypdomainname
ln -fs hostname $(BASEDIR)/bin/nisdomainname
ln -fs hostname $(BASEDIR)/bin/domainname
ifeq ($(HAVE_AFDECnet),1)
ln -fs hostname $(BASEDIR)/bin/nodename
endif
}}}
If all these are suppressed, then the installation of the man pages needs
to be adjusted to not install everything. For mii-tool, it might just be
easier to do:
{{{
gcc -o mii-tool -O2 -fno-strict-aliasing -I ./include -fno-strict-aliasing
\
-D_GNU_SOURCE mii-tool.c
cp -v mii-tool /sbin
cp -v man/en_US/mii-tool.8 /usr/share/man/man8
}}}
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4720#comment:3>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page