FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » anyone else writing Linux (or cross-system) applications in PHP?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: anyone else writing Linux (or cross-system) applications in PHP? [message #180375 is a reply to message #180365] Wed, 06 February 2013 11:32 Go to previous messageGo to previous message
crankypuss is currently offline  crankypuss
Messages: 147
Registered: March 2011
Karma:
Senior Member
On 02/05/2013 03:27 PM, Jasen Betts wrote:
> On 2013-02-05, J G Miller <miller(at)yoyo(dot)ORG> wrote:
>> On Tuesday, February 5th, 2013, at 12:07:47h -0700, Cranky Puss explained:
>>
>>> Currently it only supports grub-2 to a limited extent, it doesn't yet
>>> allow specification of most of the available parameters, but it does
>>> generate a working config which is more than I can say for grub-customizer
>>> when I uninstalled it.
>>
>> Okay I follow, but does it successfully auto probe for all the different
>> OSes which may be present on all of the different file systems?
>>
>>> but it does leave /etc/grub.d/ in whatever shambles it was in before
>>> it was used.
>>
>> grub.d is certainly an abomination and each distribution makes it worse,
>> notably the chain debian -> ubuntu -> mint
>>
>> Want to add another item, then the config script has to tail itself
>> on to the configuration, eg my just added plop_40
>>
>> #!/bin/sh
>>
>> exec tail -n +4 $0
>>
>> menuentry "Plop Boot Manager" {
>> set root=(hd0,6)
>> linux16 /plop-boot-image
>> }
>>
>
> I think the idea is to make packaging stuff easier.
> by making the fragments executable they allow maximum compile-time
> capability without much work.

Avoiding work can be done in a number of ways, such as putting the work
in library or utility package so it can be reused---you do more work now
and avoid lots later. Avoiding it by putting it in batch files for
other people to deal with seems kind of self-defeating... by doing that
you've invented an unparsable form for storing critical information. In
the case of grub2 people are basically stuck with editing it by hand
forever.

> if you're happy to write a customised configuation file after
> installing the software then grub.d isn't for you, if on the other
> hand you just want it to work it's a neat invention.

I have never found it to "just work" since about the first time I
installed Ubuntu. Kernel updates and post-processing to update grub
seems prone to breaking those critical links in root.

What I did find was that I could get it to work by carefully
hand-editing the obscured information in the /etc/grub.d/ scripts, but I
got tired of cutting and pasting uuid's every time the thing decided to
probe reality and rewrite proxified scripts, and took a different approach.

Not everybody wants the same thing.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem with readdir and ssh2
Next Topic: web designers and developers
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 15:46:57 GMT 2024

Total time taken to generate the page: 0.05235 seconds