[arch-releng] [PATCH 4/4] do not declare bootif_dev local

Christian Hesse list at eworm.de
Fri May 27 18:01:24 UTC 2016


Christian Hesse <list at eworm.de> on Thu, 2016/05/26 23:53:
> From: Christian Hesse <mail at eworm.de>
> 
> Signed-off-by: Christian Hesse <mail at eworm.de>
> ---
>  archiso/initcpio/hooks/archiso_pxe_common | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/archiso/initcpio/hooks/archiso_pxe_common
> b/archiso/initcpio/hooks/archiso_pxe_common index adadefc..1a9fe9d 100644
> --- a/archiso/initcpio/hooks/archiso_pxe_common
> +++ b/archiso/initcpio/hooks/archiso_pxe_common
> @@ -1,7 +1,8 @@
>  # vim: set ft=sh:
>  
>  run_hook () {
> -    local i net_mac bootif_mac bootif_dev
> +    # Do *not* declare 'bootif_dev' local! We need it in run_latehook().
> +    local i net_mac bootif_mac
>      # These variables will be parsed from /tmp/net-*.conf generated by
> ipconfig local DEVICE
>      local IPV4ADDR IPV4BROADCAST IPV4NETMASK IPV4GATEWAY IPV4DNS0 IPV4DNS1

This one is most important. :D
Did you miss it?
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-releng/attachments/20160527/e3554d98/attachment.asc>


More information about the arch-releng mailing list