Received: from mail-vk1-xa32.google.com (mail-vk1-xa32.google.com [IPv6:2607:f8b0:4864:20::a32]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 81D602231D4 for <~alpine/users@lists.alpinelinux.org>; Mon, 6 Feb 2023 07:17:24 +0000 (UTC) Received: by mail-vk1-xa32.google.com with SMTP id v189so256886vkf.6 for <~alpine/users@lists.alpinelinux.org>; Sun, 05 Feb 2023 23:17:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3YGKJfLtfNRIPn+UAeL0G1+SoWiwHjs9VGQUfOfioVk=; b=GUaSsYebDoF+9BcXMj66At6UylGj085mwFsVcsdgnk5u3axQpe+tiNlkCnIl14JNhK UM3L7eolsnLBGnS/om2slGxZjYzsOvYTtKAlBa90Qu3tZDokNNTdUGrGDAqENfKO4bo/ Ar3hCgz2kyVFcGeT8lH4KscI9IcH1niMH+LCz6CD2qT6EGCLhCaH5vRGMX6GTCzkzCso ySAA0u6plGv/s65W0uay0cDcupai5QL2LU8P0IhakC+7zvm5zb+wf7ilu6DA8go9ktKt h/oDhB/az0Zs+xERoBJQA2qs70AANc3jMnSdPS5UZCxnqyN9jRfmBp//58yOT0E35E/o dopQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3YGKJfLtfNRIPn+UAeL0G1+SoWiwHjs9VGQUfOfioVk=; b=f+nckujPDv1VE5Qshy2DQsD+SIJwiAj6+v2KkHC9QBEa/wfU92AU3AAU3iLQmB2m5D hJTiCnUHG9sbdIQrDyNOxWOm/cH4RLnDIwaXRyfnad45kPxaENLxmx7nbVsecyKu8yYd MYefB1Got7Kai0UnDLITsJJjtVJjFRmFhl+Ao/Bo35PnIYb6YfKUAyxqjF0LYccZV+Du fHeK5VUuIO69q+GQDqju6Knh5+0bwAH3nYR0mYoJ9kaYPTEGFhHIomfkycb3AhFuvY+0 eEm8CM/ZHmb1TV8Dchajjj9pQH3gfvzpAtV2TVCSFFySrNQ0bnO6V93Fv96+tvm6c4th so/w== X-Gm-Message-State: AO0yUKVKEaRuJoQlEh3nREsZgpec2u21bezkRfqjAkz51+E1bsvovsb5 MyIsNULYw58Sygjf7RyPjwrHsv+CJnJNGdec8wE= X-Google-Smtp-Source: AK7set8XDWVlQhILcQd3vFikyZ0tIn7O2egUmQbbNEkM8EdrWBx9F+bc4z52r+GGTS0d1sugVQJn/XdOcUK5U5qBFME= X-Received: by 2002:a1f:ad46:0:b0:3f6:51c4:d2c9 with SMTP id w67-20020a1fad46000000b003f651c4d2c9mr980109vke.28.1675667843164; Sun, 05 Feb 2023 23:17:23 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Konstantin Kulikov Date: Mon, 6 Feb 2023 10:17:12 +0300 Message-ID: Subject: Re: Persistent package install in raspberry pi To: Philip Couling Cc: ~alpine/users@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Run "lbu commit" after package installation. This saves /etc/apk/world, contents of which get installed on boot. On Mon, Feb 6, 2023 at 3:22 AM Philip Couling wrote: > > Following the rasbberry pi install instructions (1) I have a working system with a persistent apk cache and am able to save /etc/ with lbm commit. > > What I'm stuck on is that I want to install some other packages persistently. At the moment all that happens is that the packages get saved in the apk cache and the record of the fact I wanted them installed is saved. > > In order to get the back I have to type "apk add" and they all re-install. > > I need to have this work so that I can add my own choice of packages to the system that are there while it boots. Not least because some have daemons that should be kicked off on boot. > > Is this possible with diskless installs? Is there something else I'm supposed to do to ensure installed packages are persisted? > > https://wiki.alpinelinux.org/wiki/Raspberry_Pi