Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Incorrect $VERSION_CODENAME in motd

Featured Replies

Hi,

 

i updated my Odroid HC2 to OMV7 following posts 29 and 30 from this thread https://forum.openmediavault.org/index.php?thread/51654-seemingly-cannot-update-and-upgrade-anymore-due-to-repository-having-no-release/&postID=383747#post383747

 

Actually looks like the update completed successfully, but i noted that connecting in ssh my motd looks wrong. Attaching it.

 

I do not understand why it picks the VERSION_CODENAME "Buster" while i'm instead on "bookworm".

 

Following scripts in /etc/update-motd.d :

 

steakhutzeee@dk:/etc/update-motd.d$ grep VERSION_CODENAME /etc/os-release | cut -d"=" -f2
bookworm



steakhutzeee@dk:/etc/update-motd.d$ /usr/bin/lsb_release -c | cut -d":" -f2 | tr -d "\t"
bookworm



steakhutzeee@dk:/etc/update-motd.d$ grep CODENAME /etc/lsb-release | cut -d"=" -f2
grep: /etc/lsb-release: No such file or directory

 

How could i solve this?

Thanks!

 

after.png

Edited by steakhutzeee

  • Author

For some reason the output of this file is wrong:

 

steakhutzeee@dk:/etc/update-motd.d$ ./10-armbian-header
  ___      _           _     _   _   _  ____ _
 / _ \  __| |_ __ ___ (_) __| | | | | |/ ___/ |
| | | |/ _` | '__/ _ \| |/ _` | | |_| | |   | |
| |_| | (_| | | | (_) | | (_| | |  _  | |___| |
 \___/ \__,_|_|  \___/|_|\__,_| |_| |_|\____|_|

Welcome to Armbian 24.2.1 Buster with Linux 6.1.79-current-odroidxu4

No end-user support: unsupported (buster) userspace!

steakhutzeee@dk:/etc/update-motd.d$

 

I'm trying to figure out why and where from it picks up the value Buster instead of Bookworm.

 

Any help?

  • Author

So I noted that the file armbian-image-release is sourced by 10-armbian-header.

 

So I tried renaming it and the issue disappeared. Can I delete this file? Why it is so different from the one below? I see they are both sourced.

 

steakhutzeee@dk:~$ cat /etc/armbian-image-release.bak
# PLEASE DO NOT EDIT THIS FILE
BOARD=odroidxu4
BOARD_NAME="Odroid XU4"
BOARDFAMILY=odroidxu4
BUILD_REPOSITORY_URL=https://github.com/armbian/build
BUILD_REPOSITORY_COMMIT=3f998600-dirty
DISTRIBUTION_CODENAME=buster
DISTRIBUTION_STATUS=supported
VERSION=20.05.7
LINUXFAMILY=odroidxu4
BRANCH=legacy
ARCH=arm
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm
KERNEL_IMAGE_TYPE=Image
IMAGE_UUID=fb5ecd1b-019b-4ffe-8887-1f486b947dda
steakhutzeee@dk:~$

 

While I'm clearly on a newer version:

 

steakhutzeee@dk:/etc$ cat armbian-release
# PLEASE DO NOT EDIT THIS FILE
BOARD=odroidxu4
BOARD_NAME="Odroid HC1"
BOARDFAMILY=odroidxu4
BUILD_REPOSITORY_URL=https://github.com/armbian/build
BUILD_REPOSITORY_COMMIT=2630001fb
LINUXFAMILY=odroidxu4
ARCH=arm
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm
KERNEL_IMAGE_TYPE=zImage
FORCE_BOOTSCRIPT_UPDATE=
FORCE_UBOOT_UPDATE=
VENDOR="Armbian"
VENDORDOCS="https://docs.armbian.com"
VENDORURL="https://www.armbian.com"
VENDORSUPPORT="https://forum.armbian.com"
VENDORBUGS="https://www.armbian.com/bugs"
BOOTSCRIPT_FORCE_UPDATE="no"
BOOTSCRIPT_DST="boot.ini"
VERSION=24.2.1
REVISION=24.2.1
BRANCH=current
steakhutzeee@dk:/etc$

Edited by steakhutzeee

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.