micro-patch for setup-storage

Brian Kroth bpkroth at gmail.com
Fri Nov 30 18:15:09 CET 2012


Brian Paul Kroth <bpkroth at gmail.com> 2012-08-20 10:37:
> Thomas Neumann <blacky+fai at fluffbunny.de> 2012-06-25 23:10:
>> [Sorry for this monologue, but I think I got it sorted out now.]
>>
>> It seems I got the conditional wrong here:
>>
>> if ( scalar(grep(m{^$cur$}, @pre_deps)) == 0 ) {
>>   next COMMAND;
>> }
>>
>> If I change it into:
>>
>> if ( scalar(grep(m{^$cur$}, @pre_deps)) != 0 ) {
>>   next COMMAND;
>> }
>>
>> Then I have a working FAI 4.0 installation with dracut-nfsroot and LVM
>> disk configuration. Simple disk partitioning without LVM works too.
>>
>> Attached is the full patch for 'version 2)'.
>>
>> tschüß
>> thomas
>
> I'm running into this issue too, but the patches didn't help.  
> There's also a Prototype mismatch error dumped out by perl, but that 
> doesn't seem to be related from my reading so far.  Attached is some 
> debug output.
>
> In my case there's an existing disk structure and a 
> preserve_reinstall in the disk_config, but there's also the initial 
> flag on boot, so it should just wipe it and start over.  Instead it's 
> bailing on some sort of cmd processing sanity check.
>
> Let me know if you need any more details.
>
> Thanks,
> Brian

FYI, I tested this problem (reinstall with preserve doesn't work) on FAI 
4.0.4 that was recently released, but it still has the same problem.  
For lack of a better place, I posted an update on the bug here, since it 
looked related:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693701

Thanks,
Brian

<snip/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20121130/710d9604/attachment.bin>


More information about the linux-fai mailing list