[lfs-dev] [LFS Trac] #3098: udev/systemd 183 is out

Bruce Dubbs bruce.dubbs at gmail.com
Mon May 28 17:27:18 PDT 2012


LFS Trac wrote:

> Comment(by ken@…):
> 
>  For the man pages (without renaming until after the build/install), the
>  slackware sed isn't enough to catch the systemd\- items in the text, nor
>  the SYSTEMD\- header on systemd-udevd.8. The following sed fixes all of
>  this, and (applied before configure) doesn't break the build.
> 
>  {{{
>  sed -i -e "s,systemd.*-,,g" \
>      -i -e "s,SYSTEMD.*-,,g" man/udev.7 man/udevadm.8 man/systemd-udevd.8
>  }}}
> 

Well there is also:

sed -i -e "s,systemd.*-,,gi" man/udev.7 man/*udev*.8
                           ^                 ^^^^^^
:)

And of course after installation:

pushd /usr/share/man/man8
mv -v systemd-udevd.8 udevd.8
popd

Or we could do a manual installation and get it with:

cp -v /man/systemd-udevd.8 /usr/share/man/man8/udevd.8

Might want to dow the same with man/*.html too.

   -- Bruce



More information about the lfs-dev mailing list