Received: from mx1.tetrasec.net (mx1.tetrasec.net [66.245.176.36]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 2AE1D782B34 for <~alpine/devel@lists.alpinelinux.org>; Tue, 5 Jan 2021 10:15:46 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 370F6172B5A; Tue, 5 Jan 2021 10:15:45 +0000 (UTC) Received: from ncopa-desktop.lan (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id A7F03172B59; Tue, 5 Jan 2021 10:15:44 +0000 (UTC) Date: Tue, 5 Jan 2021 11:15:39 +0100 From: Natanael Copa <ncopa@alpinelinux.org> To: "Francesco Colista" <fcolista@alpinelinux.org> Cc: "Alpine development" <~alpine/devel@lists.alpinelinux.org> Subject: Re: Help needed to maintain alpine data in osinfo-db Message-ID: <20210105111539.15403120@ncopa-desktop.lan> In-Reply-To: <8d1cb0fd008d89ccf1a1b4fdbcb24648@alpinelinux.org> References: <20210105091819.06f8844c@ncopa-desktop.lan> <8d1cb0fd008d89ccf1a1b4fdbcb24648@alpinelinux.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 05 Jan 2021 08:51:59 +0000 "Francesco Colista" <fcolista@alpinelinux.org> wrote: > 5 gennaio 2021 09:18, "Natanael Copa" <ncopa@alpinelinux.org> wrote: > > > Hi, > > > > I wonder if someone can help us maintain the osinfo-db data. All > > releases since 3.8 needs to be added. > > > > https://gitlab.com/libosinfo/osinfo-db/-/tree/master/data/os/alpinelinux.org > > > > -nc > > Natanael, where these information can be grabbed? > > + <devices> > + <device id="http://pcisig.com/pci/1af4/1041"/> <!-- virtio1.0-net --> > + <device id="http://pcisig.com/pci/1af4/1042"/> <!-- virtio1.0-block --> > + <device id="http://pcisig.com/pci/1af4/1043"/> <!-- virtio1.0-console --> > + <device id="http://pcisig.com/pci/1af4/1044"/> <!-- virtio1.0-rng --> > + <device id="http://pcisig.com/pci/1af4/1045"/> <!-- virtio1.0-balloon --> > + <device id="http://pcisig.com/pci/1af4/1048"/> <!-- virtio1.0-scsi --> > + <device id="http://pcisig.com/pci/1af4/1049"/> <!-- virtio1.0-9p --> > + <device id="http://pcisig.com/pci/1af4/1052"/> <!-- virtio1.0-input --> > + <device id="http://qemu.org/chipset/x86/q35"/> <!-- qemu-x86-q35 --> > + <device id="http://pcisig.com/pci/8086/10d3"/> <!-- e1000e --> > + <device id="http://pcisig.com/pci/8086/293e"/> <!-- ich9-hda --> > + </devices> Those I don't remember. I think I may have grepped for virtio in the osinfo-db tree. (apk add the_silver_searcher && ag virtio) I wanted the virtio driver to be used for alpine, but it looks like other distros like ubuntu does not add those? > ... > + <resources arch="all"> > + <minimum> > + <cpu>1000000000</cpu> > + <n-cpus>1</n-cpus> > + <ram>134217728</ram> > + <storage>1073741824</storage> > + </minimum> > + <recommended> > + <cpu>1000000000</cpu> > + <n-cpus>1</n-cpus> > + <ram>805306368</ram> > + <storage>4294967296</storage> > + </recommended> > + </resources> I don't remember where I got those numbers from. I might have tested the minimal RAM for alpine to boot, but I'm not sure. I doubt alpine will boot with less than 130MB ram. The recommended RAM and disk was likely something based on what I typically select. > > If they are all the same (at least this is what I see in the two patches in osinfo-db that adds Alpine), I believe that it can scripted. I'm pretty sure it can be scripted. Seems like there are other distros that has it scripted: https://gitlab.com/libosinfo/osinfo-db/-/tree/master/scripts/updates The release-date and eol-date can be taken from https://gitlab.alpinelinux.org/alpine/infra/alpine-mksite/-/blob/master/alpine-releases.conf.yaml I'm gonna add some patches with alpine release up to 3.13 to community/osinfo-db, but I think we need to add testdata also and upstream it. I also have issues with getting osinfo-detect find the alpine images. > > .: Francesco Colista