analogdevicesinc / adi-kuiper-gen

Tool used to create ADI Kuiper Linux userspace images (based on Raspbian/raspberrypi.org )

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I tell what version I'm running?

rgetz opened this issue · comments

How do I tell on the image that I wrote : 2020-03-12-adi-kuiper.img

I get that some of this must be standard, and we shouldn't change, but we need to update something - shoudln't we? Right now - it looks like a stock Pi image with no modifications.

uname -a
Linux brain 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
cat /etc/debian_version
10.3
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 10 (buster)
Release:	10
Codename:	buster
cat /etc/rpi-issue
Raspberry Pi reference 2019-08-02
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 29d362e5443c4f591885a4de3cbd48d4239efb70, stage6

The new image has some changes from the one you are using:

cat /etc/rpi-issue
Raspberry Pi reference 2020-04-13
Generated using adi-kuiper-gen, https://github.com/analogdevicesinc/adi-kuiper-gen, 63db207c2cfccef4a7e136d70cb55da56eb82713, stage7

We could change this and put our own PRETTY_NAME and NAME and also some URLs for support and stuff like that.

cat /etc/os-release 
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"

Regarding the other two question do we want something else displayed there ?

uname -a
Linux analog 4.19.86-v7+ #8 SMP Tue Apr 21 09:19:41 UTC 2020 armv7l GNU/Linux
cat /etc/debian_version 
10.3

I think uname is OK, and /etc/debian_version is correct - we just need some way of ensuring people know issues they found with our implementation should go to the raspbian team. (as well as know a version, or date of the image. (to help us debug things, and tell if people are using the latest or not).

I would suggest:

PRETTY_NAME="Kuiper GNU/Linux 10 (buster)"
NAME="Kuiper GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="https://github.com/analogdevicesinc/adi-kuiper-gen"
SUPPORT_URL="https://ez.analog.com/linux-software-drivers/"

I think /etc/rpi-issue & /boot/issue.txt should be OK. Is the date the build date? or something else?

Yes it is the build date.
Will add the modifications you suggested to the scripts.

Thanks - feel free to close when you get things finished.

Added in #12

Thanks