On 02/15/2013 02:05 PM, Matthew Burgess wrote: > On Fri, 15 Feb 2013 04:44:40 -0800 (PST), [email protected] > wrote: >> Author: krejzi >> Date: Fri Feb 15 04:44:39 2013 >> New Revision: 10148 >> >> Log: >> Begin adjusting book for Systemd. > > Thanks! Just a couple of really minor nits: > >> Modified: branches/systemd/BOOK/chapter06/glibc.xml >> ============================================================================== >> --- branches/systemd/BOOK/chapter06/glibc.xml Thu Feb 14 05:12:34 >> 2013 (r10147) >> +++ branches/systemd/BOOK/chapter06/glibc.xml Fri Feb 15 04:44:39 >> 2013 (r10148) >> @@ -176,8 +176,8 @@ >> <para>Install the configuration file and runtime directory for >> <command>nscd</command>:</para> >> >> -<screen><userinput remap="install">install -v -m644 >> ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf && >> -install -v -dm755 /var/cache/nscd</userinput></screen> >> +<screen><userinput remap="install">cp -v >> ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf && >> +mkdir -pv /var/cache/nscd</userinput></screen> > > Any particular reason for those changes? > > Also, in one of your previous commits, you added a patch to Glibc for FHS > compliance. > Is that specifically to help out with systemd, or should it be applied to > trunk as well? > >> <para>The locales that can make the system respond in a different >> language >> were not installed by the above command. None of the locales are >> required, >> @@ -411,7 +411,7 @@ >> include /etc/ld.so.conf.d/*.conf >> </literal> >> EOF >> -mkdir /etc/ld.so.conf.d</userinput></screen> >> +mkdir -pv /etc/ld.so.conf.d</userinput></screen> > > I understand the 'v' there, but the 'p' is not required. > > Regards, > > Matt. >
I just wanted everything to be the same. I changed "install" to cp -v and mkdir -pv because it's used everywhere else on the page. As for last one, reason is the same, but I guess we can omit the -p switch. As for the patch, it's not systemd specific. Even on non-systemd LFS, /var/db directory is created by make install, and if nscd is configured, it will store its data into /var/db/nscd. That patch changes nss_db files install location to /var/lib/nss_db and nscd data dir to /var/cache/nscd. -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
