Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id EB39F781A9C for ; Sun, 10 May 2020 14:42:58 +0000 (UTC) Received: from [192.168.3.37] (15.30.14.81.rev.sfr.net [81.14.30.15]) (Authenticated sender: michel.piquemal@ipik.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id BED99240002; Sun, 10 May 2020 14:42:56 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.5\)) Subject: Re: diskless mode: apk add + lbu commit + reboot: miss a lot of packages! From: spam@ipik.org In-Reply-To: <20200510155739.a0d9041829d02350a6acf76a@gmail.com> Date: Sun, 10 May 2020 16:42:15 +0200 Cc: alpine-user@lists.alpinelinux.org Content-Transfer-Encoding: quoted-printable Message-Id: <5EA81B5F-81B1-468E-A0BE-721CE1CD804C@ipik.org> References: <48B3BD70-1044-41FD-9CDB-B9375118393E@ipik.org> <20200509220413.7aac2cf497666347074f8913@gmail.com> <67D7E923-CB5C-4546-8F7A-FC6A577FBAC4@ipik.org> <20200510155739.a0d9041829d02350a6acf76a@gmail.com> To: Konstantin Kulikov X-Mailer: Apple Mail (2.3445.9.5) Thanks. I found the problem finally: I was doing install with = --repositories-file REPO option. Unexpectedly, when system reboots (with std repositories) it = does not seem to validate such cached apps. If I set my REPO file into /etc/apk/repositories, then all is good, and = all cached apps are reloaded at boot time! Really strange behaviour for cache validation, and I could not find any detailed information about this. Is that a feature or bug? Would like to understand the reasoning to not get trapped in the future. > On 10 May 2020, at 14:57, Konstantin Kulikov = wrote: >=20 > Start by examining apkovl file, use "lbu ci -v" to find where it is = saved. Check that /etc/apk/world in apkovl contains your packages. > Remove "quiet" option from kernel cmdline in bootloader config and = reboot. > Verify that initram loads correct file. >=20 > Code that loads apkovl at boot is here = https://git.alpinelinux.org/mkinitfs/tree/initramfs-init.in#n563