[Aboriginal] The hw- target stuff is probably bit-rotted.

Rob Landley rob at landley.net
Wed May 25 23:39:27 PDT 2011


On 05/25/2011 07:57 AM, David Seikel wrote:
> On Mon, 18 Apr 2011 20:12:36 -0500 Rob Landley <rlandley at parallels.com>
> wrote:
>>> I seriously think that since that was the last grub legacy that FSF
>>> published, that they went to the effort of breaking it.  But, never
>>> ascribe to malice what can be accounted for with stupidity.
>>
>> So back up a few versions.
> 
> Actually, the problem was that the LFS I was using included a later
> grub version that was overwriting the source of the grub version I was
> trying to install.  This happens when the LFS included source tarballs
> are unpacked at the end.  I added in a line to remove the internal grub
> tarball before unpacking the rest of LFS.

You mean while running make-control-image.sh?  Or are you extracting a
tarball at native build time?  (I dunno how closely what you're doing is
based on my lfs-bootstrap... or not.)

> That at least got rid of the --disable-nls problem, the patches still
> did not apply.
> 
> The rest of my problems where - when building a disk image from
> scratch, it pays to sync often.  And some shitty hardware issues.

I tend to make scripts that can be re-run to rebuild everything, and
then do lots of unnecessary rebuilds which I write off as "regression
testing".  I've been in the situation of tweaking a system I can't
reproduce, and "restore from backup" isn't an option if the problem is
an old software package got silently corrupted 18 months ago and
nobody's noticed up until now, and the build recipe that would allow you
to replace it has to be worked out fromm scratch again, and nobody even
remembers what it's used for...

Erring on the side of "rebuild into a fresh directory, time for lunch"
is much more comfortable for me.  (Then again, almost all my builds are
"build all".  I even put a "make clean" step in my git bisects.  Well,
actually I put a "git clean -fdx && git checkout -f" in there, because
distclean can have version skew. :P )

> Right now I'm happy to finally see the system and demo app booting and
> running on actual hardware.  Yay!

Woot!  Congratulations.

Rob

 1306391967.0


More information about the Aboriginal mailing list