On 29.4.2014 0:33, Ken Moffat wrote:
On Mon, Apr 28, 2014 at 06:00:54PM -0400, Cliff McDiarmid wrote:
The hint I was refering to is the one written by Chris Wagner 2012-10-03(see
attach). I followed it for converting an earlier LFS, wondered whether I could
use it for 7.5, using more recent packages?
I see a number of alternatives, but for all of them I recomment
that you backup your working 7.5 first, and ensure you have a way of
restoring individual items from the backup if things are so broken
that systemd fails to boot.
1. Try the hint - if it breaks, you get to keep both pieces.
2. Look at what Armin was doing when he last updated his notes.
ISTR that he builds a lot of extra things in LFS, so his method
might not suit you. I also recall that he took particular care over
his systemd rebuild for gudev. In a recent LFS-svn version initially
running with sysvinit I did not have any problems here (only changed
to systemd once I had built firefox, so that I had a graphical
browser to search for answers - links or lynx are often impractical
if google gives a link to some list archives.
3. Look at LFS-svn. Mine is still using the latest gcc-4.8 (I built
as at 2014-04-22 after deciding that I needed to separate any
gcc-4.9 issues, together with any issues for newer versions of e.g.
evince and gucharmap (I last built 3.10) into one or more later
builds) - if you are tempted to use gcc-4.9 please look at LFS ticket
#3552 and the comments on both the LFS-dev and LFS-book lists : at
the moment, it looks as if both ffmpeg and qt4 have problems. At
least the list archives are now back online ;-)
4. Since you already have LFS-7.5, I suppose that you could add the
extra packages which are now in LFS-svn, change the kernel config to
include what is needed (you have probably done that already, except
for the fhandle syscalls), and use everything in the current
chapters 7 and 8 (and the alterations to how both sysvinit and
systemd are installed without conflicting with each other) including
current LFS bootscripts. Again, you need a backup before you start,
and you will definitely be on your own if any problems arise.
ĸen
Notes are based on top of LFS systemd 7.5 and BLFS 7.5-rc1 (which is
more or less similar to 7.5). You're good to go if you are using these.
Converting sysvinit-based system to systemd-based one could be done if
you install LFS packages you are missing, follow the whatever tutorial
you like for removing sysvinit specific stuff (haven't looked at the
note, maybe it does explain it) and install systemd and dbus using lfs
systemd instructions.
For hybrid setup (systemd and sysvinit) you can simply install newer
bootscripts and remaining packages that are now part of lfs development
book.
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page