Forwarding to the list: it seems just hitting"reply" does not answer to the list, as it used to do...

-------- Forwarded Message --------
Subject:        Re: [alfs-discuss] No restart
Date:   Sun, 30 Apr 2017 23:18:40 +0200
From:   Pierre Labastie <[email protected]>
To:     Gerhard Gedigk <[email protected]>



On 30/04/2017 21:50, Gerhard Gedigk wrote:
I try the first run of an alfs.

Everything worked out fine until I had a crash of the chroot, possibly due to flaw in the sudoers file. I fixed this. Now it runs at the command line, but not from the script.
I'm not sure what you mean with "it runs at the command line": what do
you type?
and ditto for "but not from the script": what do you type? Do you run
make again in the jhalfs directory?

One grep only works during the first run, afterwards I always get

Are you happy with these optimization settings? yes/no (no): yes
------------------------------------------------------------------------------ grep: /mnt/ALFS/jhalfs//mnt/ALFS/jhalfs/lfs-8.0/general.ent: Datei oder Verzeichnis nicht gefunden

It is easy to see that the first part of the directory is double.
I've never seen this. But there is actually something wrong in jhalfs,
thanks for reporting:
We have at some point:
----
VERSION=$(grep 'ENTITY version ' $JHALFSDIR/$BOOK/general.ent| cut -d\" -f2)
----
But we also have:
----
BOOK=${BOOK:=$JHALFSDIR/$PROGNAME-$LFSVRS}
----
So if BOOK is not defined at this point, it will be set to
$JHALFSDIR/$PROGNAME-$LFSVRS, so that the path used in grep will have
$JHALFSDIR twice.

I wanted to repeat some things, but I cannot find what to delete to repeat a special step. ALFS does not download LFS 8.0 a second time, and it does not create the jhalfs working dir a second time.
There is no way to repeat a specific step without repeating all what
follows: just remove the (empty) file xxx-<step>
in /mnt/ALFS/jhalfs, where xxx is three digits, and <step> is the step
you want to repeat.

Another question: Is it possible to tweak the versions of the packages I want to build? The version number is only in the (above listed) general.ent file. If this grep would work and there would be a possibility to repeat steps this should

Not sure I understand what you mean here too. The above grep only
extracts the book version, not the package version(s). But you can tweak
all you want by having a local copy of the book and changing it
(general.ent contains the versions of packages too). If you do so, I
would advise you to start afresh...

Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to