[arch-releng] [PATCH 1/1] launch interactive shell if ipconfig fails

Gerardo Exequiel Pozzi vmlinuz386 at gmail.com
Fri May 29 00:45:14 UTC 2015


On 05/28/2015 12:23 PM, Christian Hesse wrote:
> Gerardo Exequiel Pozzi <vmlinuz386 at gmail.com> on Thu, 2015/05/28 12:07:
>> On 05/27/2015 07:30 AM, Christian Hesse wrote:
>>> From: Christian Hesse <mail at eworm.de>
>>>
>>> Signed-off-by: Christian Hesse <mail at eworm.de>
>>> ---
>>>  archiso/initcpio/hooks/archiso_pxe_common | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/archiso/initcpio/hooks/archiso_pxe_common
>>> b/archiso/initcpio/hooks/archiso_pxe_common index d8ac709..59828c7 100644
>>> --- a/archiso/initcpio/hooks/archiso_pxe_common
>>> +++ b/archiso/initcpio/hooks/archiso_pxe_common
>>> @@ -25,7 +25,7 @@ run_hook () {
>>>          fi
>>>  
>>>          # setup network and save some values
>>> -        ipconfig "ip=${ip}"
>>> +        ipconfig "ip=${ip}" || launch_interactive_shell
>>>  
>>>          . /tmp/net-*.conf
>>>  
>>>
>>
>> Hi,
>>
>> I do not remember now, this can fail silently? In this case a message
>> before launch_ should be printed.
> 
> In my case it complained... Anything about "no network interface to
> configure" or similar. Would you like to have an extra message?
> 

Yes please. Like when some mount fails.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-releng/attachments/20150528/88625a20/attachment.asc>


More information about the arch-releng mailing list