X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by lists.alpinelinux.org (Postfix) with ESMTP id 178F15C4E0B for ; Tue, 23 Jan 2018 15:34:37 +0000 (GMT) Received: by mail-wr0-f193.google.com with SMTP id w50so996084wrc.11 for ; Tue, 23 Jan 2018 07:34:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=d20xM7mQEZflCF7LH9o9UetVSv3c6ijVrapfjQdt0vA=; b=ARipod3ttASYcVzAM66Dwpk1lr6FF2A1O/d5o0epbcYriXOYLxHbW7jRFIQXlKZQtt NYPszQxmeNyaMPLc0U8QFPgln9/NNi8WR+1IxyzG6eJ5agT+RfUt7IFraoA28/GizsW6 vEvTfANKXnBBKLbaGSCLLFxGJFrHIdqhPlm3PH+fVbiOp2UqtPu0E4P3pvfUQ9Zpia1d BMnfHXmI9g6q9M10geKnIRFgmYMYp1638eCyFrtUu79udLQDCBQw8lrL+VdgzPXjDJnC k6CPEuxRGVWlUTQ5wothYne+Ljf68g5k2WXXhhB/f50iaDtH7AgPk2CViAhjbJBxqMEN MbfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=d20xM7mQEZflCF7LH9o9UetVSv3c6ijVrapfjQdt0vA=; b=c89V1CtI6h0lBKioFV+KENRfcBvO4jtq0y4/hvcFF2sgHbRwR9f7o5xATveMZrEuMu TTrGesgKdMpnjUVolPLqQykoUr0LlAkz9ZJQcZ7mjnhKk8ChLmvVPSuPWmCyqZOnfqFr wMIa6KHUopsmdv1bbrLksDcXTEUh8lEdNYY2sjGx7cp58wzaur98yyhWIrBLLP4+5aVf Bsr8ppjxPeiMLv5zg3039EcTlaGhpKxjDkwjHDrNqY4wR+3vv0QATVgVROl9h2HDzGun LI5ht/8Cmg5iiUs8VHlGmsLUEENFgr7xJC/zc+zR2aZMeR1LpASZGglDLDA5JllD8FDd 7s1A== X-Gm-Message-State: AKwxytfMcyTaHEYapz+fDIMDiAVU5NmUTpCS+eSNrIbCjhAB7rneSlZK OIA9lAofbNvgy68Eho/XzKJID6dZki7joNCL5uI= X-Google-Smtp-Source: AH8x226S6ULJS2P1XaGuTrEbBXj8ZhFq0gP263sH1s70gUC2SM2dqO8a1ud2ea2382/bskm+L0Joe8pGwCXLV1xPfao= X-Received: by 10.223.128.98 with SMTP id 89mr2563826wrk.280.1516721676286; Tue, 23 Jan 2018 07:34:36 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.223.179.17 with HTTP; Tue, 23 Jan 2018 07:34:15 -0800 (PST) In-Reply-To: References: From: Martin Galvan Date: Tue, 23 Jan 2018 12:34:15 -0300 Message-ID: Subject: Re: [alpine-devel] APKBUILD for kernel modules To: Shiz , alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Shiz, thanks for the answer. I'm forwarding it to the mailing list. 2018-01-23 12:22 GMT-03:00 Shiz : > Hi! > >> On 23 Jan 2018, at 15:26, Martin Galvan wrote: >> >> Is this done just to make sure the maintainer is aware of kernel >> changes, and has to at least indicate so in the APKBUILD? What if we >> wanted to distribute a module that worked on multiple kernel versions? > > Yes. Because of the nature how Linux kernel modules work, you can=E2=80= =99t > distribute a module that works on multiple versions =E2=80=94 modules are= explicitly > versioned against the kernel by the Linux kernel module build system beca= use > the in-kernel ABI is unstable (the vermagic/modversion mechanism). > >> As a side note, I saw that the APKBUILDs look for >> linux-$_flavor/APKBUILD in a relative path. I assume this means >> they'll always run from wherever they're located in the aports tree, >> but I saw that e.g. >> https://git.alpinelinux.org/cgit/aports/tree/testing/ipt-netflow-hardene= d/APKBUILD >> looks in testing for linux-$_flavor, which I didn't find. Does that >> mean it'll always fail? > > This seems wrong, but I=E2=80=99m not sure. > >> Finally, I saw that for failure cases there seems to be a 'die' >> function that looks like perl's. Where can I find its definition? Is >> it documented anywhere? > > It=E2=80=99s defined in abuild: https://git.alpinelinux.org/cgit/abuild/t= ree/abuild.in#n103 > > - Shiz --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---