[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [EFI] libdebian-installer: add efi subarch for amd64 and i386



Steve McIntyre wrote:
> Looking through the Ubuntu version of debian-installer, I can see that
> Colin and I independently came up with nigh-on exactly the same way to
> deal with EFI systems, using a subarch to identify them. We've
> differed very slightly in terms of the the source code in
> libdebian-installer for checking for /sys/firmware/efi, but the effect
> is the same. Here's my diff.

This patch doesn't apply cleanly to current git, both hunks conflect.
Perhaps you could rebase on current git head and use git format-patch?

> +static int is_efi(void)
> +{
> +       int ret = access("/sys/firmware/efi", R_OK);
> +    if (ret == 0)

This appears to be some broken indentation.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: