X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by lists.alpinelinux.org (Postfix) with ESMTP id B4423F84E02 for ; Mon, 18 Mar 2019 11:26:10 +0000 (UTC) Received: by mail-pg1-f170.google.com with SMTP id k11so11148596pgb.8 for ; Mon, 18 Mar 2019 04:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chave-us.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/l4Mq5PJK0cidsnheb9J+XSpSW7IsSqTgy7YSQ/GoM4=; b=jlRdP0DX6kKSLBvo3fVPgGPA9Pf/hBzhN6OXP2BGd+dMNmOdYM+vPZ6fLumlqXTpOh L3iJMKHX3mp07PXQTt1OsVEQb1WJS95GSpMP7RqyOcUg41PZ5lPmG6XiImEnqwnI61oj 55A8avjZ4VCNT5RSRdGocen39MEHMTYdaOJnsMxl0rEiEWShcM2iNAdZBpXWDj0wUSFW xeKYeOP02fMSMX0c1bbR5e/IaX2dgxF/b9AxbY0YfKakgCbkIqDdWJL2QZH20fHy/umk QZbTDq2njIUCfJAiVzDeQ3oYpdeb22oDb11myZAT3TtxnfWmTwQwokuCqwyKxZgOobPC Nw9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/l4Mq5PJK0cidsnheb9J+XSpSW7IsSqTgy7YSQ/GoM4=; b=NAKxB9w+atYLimWrwKlu/Zzq8sZmlobVo54RGQJljElF64x4IGr5rQJH2JtVp2qoPj tKD7++74A/Be+IFf6sbRoWR0Y+e5pf+uwxxt/QeNMdlLCphdUdvAfUhHKOBCTTPl3Rvs CNYXNfhgESdzkMPRnswW/KS3Jhrkrv/jGefvBpObni/8pli9q83t8heV41iqPY4xG/iO qgTdqQYwVQ9JpzI1oW7mnqWrDSJh11Ys4dxH58oeU2Tubry3/gslg+kL4Pz6L7c59AcS xw+3aEo6yGpV83SQTyggrqXm2UkXaF3W71D901AkMRx923Brep7txm+G5ngjxOTNW1ul mBxA== X-Gm-Message-State: APjAAAWYKzy2kAsQuRRDqn1/nYGtx/3z0rFwEWxEF/9ltyOrWde1tfMN qNCxjO9k5Scku8AFkzg/7wujoqlltN3G1hQaEdJ2+g== X-Google-Smtp-Source: APXvYqy2aYEg+1YgosSMIGbk8U3bVL99KhZjEHpYQ1grMjrO1tgss9W2GC/F37Z+yU4k20EhaaqDl7dA+5bNwMlMqo4= X-Received: by 2002:a63:4907:: with SMTP id w7mr10272468pga.50.1552908369935; Mon, 18 Mar 2019 04:26:09 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: In-Reply-To: From: Carl Chave Date: Mon, 18 Mar 2019 07:25:57 -0400 Message-ID: Subject: Re: [alpine-devel] Re: Adding Local Abuild Package to Cache To: developer@it-offshore.co.uk Cc: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" > You can also add your public key from /etc/apk/keys in your dev environment to /etc/apk/keys on the remote host so your custom packages are trusted. > > Stuart. > > Thanks Stuart, yes, I had the dev public key in /etc/apk/keys on the same host as the abuild environment - I only have one raspberry pi 3 B+, my other pi's are armhf. To perhaps muddy the water a bit more, the pi 3 I used as the dev host was already loaded with 3.8.2 armhf and I had /home on a separate ext4 partition. I setup the abuild environment, built the packages, and tried to test but ran into the cache issue I described above. As part of the troubleshooting I decided to wipe the OS partition and load 3.9.2 which is when I discovered that support for the pi 3 B+ has apparently been dropped from the armhf build and so I moved to the armv7 build but still mounted old /home directory with the existing aports and packages directories. I did various other things after that, cleaned out keys and previously built packages and generated new keys and rebuilt the packages, removed the old pubic key from /etc/apk/keys and put the new key in - I think at the end I had a correct armv7 abuild environment but I had the same problem trying to get the packages to stick on reboot when installing from the local repo. Since I still had the previously built armv6 packages, I scp'd those over to a raspberry pi zero w and installed with --allow-untrusted and that worked, I guess it was late in the day but I didn't think to add the pi 3's repo to the pi zero and install that way rather than scp'ing and installing as local untrusted packages. I will try that just as another data point. Carl --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---