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>
...
+ <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>
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.
.: Francesco Colista
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>
...
+ <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>
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.
.: Francesco Colista
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