X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id D5D35DC0243 for ; Tue, 19 Apr 2016 13:16:40 +0000 (UTC) Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 5F1C5DC01F7 for ; Tue, 19 Apr 2016 13:16:40 +0000 (UTC) Received: by mail-lf0-f47.google.com with SMTP id g184so18351293lfb.3 for ; Tue, 19 Apr 2016 06:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=75569U+qS/tKRlpXyDq9piGOXMQ9ohkDv74v71NKnSQ=; b=VEf9Y4OZuN3m5/ntIw4xonZzN2s+7g2ESgcW+j75yLfDE9Hg1LDDdU+Dn5E2+Ozhpl xDJmIhLaPsR4iunJEHu0FqXN1EJjZSoHTd4jq+rq+MazoXurWTVdhajcnyLgC9D4hFXb ibVDRPP2G5e0a2dqTAQ1zvl9wseBD/+27BUUxRIuSzmTi/LRPHZ8+CGWB13hANUwPg27 5tUYtakhDE2z9T3yuLEwaq0ow0n36pAUHvIMJj3TAfeJJQNB4PjWtsM9IlPCpI9L/YiC fxML+xHErLROwD+i9B5FTI0LSzxaKo9QYdSkQYxLDHFiOnDSgG/Zdua3M8zDvMIfb2eb Oc+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=75569U+qS/tKRlpXyDq9piGOXMQ9ohkDv74v71NKnSQ=; b=jr7NSZU3x1aZ3kguX68l4xHJ3xSJKHc0MwN9w6wYVr8fRUD5hRQUGcWI8A/suJx52y QFF3gKMBaxhsiGj64hUksom1/DIVmeKhzGovV1aXdR9yASpmTgivpgn5iaBbgPis4Z0f SxVSdDepTJVtB6AQqS5EeSe4X3dzpGjCmOsvbSz94iFViD7VpNA6iy2SBAZvAzs83OUT jNOZbxCuC/A5ia9m/lxu0tIewxPWwgixRuN77zTFW8/iTG+6hw0vNGELkHTb0a6vnnpj QE0D1xThN3TUsxNA1j0SPKT+oHuk9XERbTSoiFlnDhnHXpilrqPFJvTzp7IgzE4KVcvH q8sg== X-Gm-Message-State: AOPr4FVW6QkeNceOm/uwOaX/01ef6m4zrUSf/pLpoLkKlE1PbsqfjIuQr6k3hPgZe3xPKg== X-Received: by 10.112.97.162 with SMTP id eb2mr1384990lbb.132.1461071798467; Tue, 19 Apr 2016 06:16:38 -0700 (PDT) Received: from vostro.util.wtbts.net ([2001:1bc8:101:f402:21a:9fff:fe0c:4022]) by smtp.gmail.com with ESMTPSA id hw7sm39909lbb.40.2016.04.19.06.16.37 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 06:16:38 -0700 (PDT) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Tue, 19 Apr 2016 16:16:35 +0300 From: Timo Teras To: Marian Buschsieweke Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH] linux-rpi: Installing dtb-files into /boot Message-ID: <20160419161635.57dd6cfd@vostro.util.wtbts.net> In-Reply-To: <1460733346-1466-1-git-send-email-m.buschsieweke@uni-muenster.de> References: <1460733346-1466-1-git-send-email-m.buschsieweke@uni-muenster.de> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Fri, 15 Apr 2016 17:15:46 +0200 Marian Buschsieweke wrote: > Instead of "/usr/lib/linux-${_abi_release}/" the dtb-files will be > installed into "/boot/", as these are required to be stored on the > boot partition along with the kernel, which is installed into > "/boot/". With this change a kernel update on a Pi will work fully > automatically, as the user no longer needs to take care to copy > the .dtb-Files manually into her boot partition. --- > main/linux-rpi/APKBUILD | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) If this changes, we need to fix also the alpine-iso image building scripts, and update-kernel script. But I don't fully like this. The problem is that you can't then have several kernels installed as the dtb's would overlap. It's not currently a problem, but might become one. I do understand the issue at hand. I wonder if we could symlink things, or just ship config.txt so the dtbs are looked up from other place. Or potentially just ship script that copies the latest dtbs to /boot. But generally the dtbs and the kernel should match. > > diff --git a/main/linux-rpi/APKBUILD b/main/linux-rpi/APKBUILD > index 80183d8b..bc94310 100644 > --- a/main/linux-rpi/APKBUILD > +++ b/main/linux-rpi/APKBUILD > @@ -108,7 +108,7 @@ _package() { > local _install > case "$CARCH" in > arm*) > - local > _dtbdir="$_outdir"/usr/lib/linux-${_abi_release} > + local _dtbdir="$_outdir"/boot > cd "$srcdir"/build-$_buildflavor/arch/arm/boot/dts > || return 1 mkdir -p "$_dtbdir" > find . -name "*.dtb" -type f | cpio -pdm "$_dtbdir" --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---