Jump to content

Recommended Posts

Posted
 apt update && apt -y upgrade

 

1. armbian-config -> software -> softy
 

 

Bug fixes:

 

  • Syncthing
  • ZSH
  • Internet detection also works behind proxy


Cosmetical fixes:

 

  • UrBackup
  • Transmission

 

Removed:

 

  • Exagear (EOL)

 

2. armbian-config -> personal -> mirror

 

Posted
17 hours ago, hjoe said:

The headline still shows 

"Armbian 5.75 stable"

 

for more information about the versions of your armbian-system-packages you could add the following to your
/etc/update-motd.d/10-armbian-header

ARMBIAN_bsp=$(more /etc/armbian-release|grep VERSION|cut -f 2 -d '=')
ARMBIAN_kernel=$(dpkg -s linux-image-$BRANCH-$LINUXFAMILY|grep Version|cut -f 2 -d ' ')
ARMBIAN_uboot=$(dpkg -s linux-u-boot-$BOARD-$BRANCH|grep Version|cut -f 2 -d ' ')
ARMBIAN_dtb=$(dpkg -s linux-dtb-$BRANCH-$LINUXFAMILY|grep Version|cut -f 2 -d ' ')
ARMBIAN_firmware=$(dpkg -s armbian-firmware|grep Version|cut -f 2 -d ' ')
ARMBIAN_config=$(dpkg -s armbian-config|grep Version|cut -f 2 -d ' ')

printf 'ARMBIAN bsp      : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_bsp"
printf 'ARMBIAN kernel   : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_kernel"
printf 'ARMBIAN u-boot   : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_uboot"
printf 'ARMBIAN dtb      : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_dtb"
printf 'ARMBIAN firmware : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_firmware"
printf 'ARMBIAN config   : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_config"

printf '\n'
printf 'ARMBIAN kernel   : \e[0;91m%s\x1B[0m   u-boot : \e[0;91m%s\x1B[0m   dtb : \e[0;91m%s\x1B[0m   firmware : \e[0;91m%s\x1B[0m  config : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_kernel" "$ARMBIAN_uboot" "$ARMBIAN_dtb" "$ARMBIAN_firmware" "$ARMBIAN_config"
printf '\n'

this will give you the armbian-system-package-informations in different lines or

at the end in one line like in the attached image ;)

 

 

armbian_versions_motd_display.jpg

Posted

I like the armbian-system-packages  armbian header information. Will modify my rock64 to output the additional information.   Thanks for the tip!

 

 

On 3/12/2019 at 9:31 PM, guidol said:

 

for more information about the versions of your armbian-system-packages you could add the following to your
/etc/update-motd.d/10-armbian-header


ARMBIAN_bsp=$(more /etc/armbian-release|grep VERSION|cut -f 2 -d '=')
ARMBIAN_kernel=$(dpkg -s linux-image-$BRANCH-$LINUXFAMILY|grep Version|cut -f 2 -d ' ')
ARMBIAN_uboot=$(dpkg -s linux-u-boot-$BOARD-$BRANCH|grep Version|cut -f 2 -d ' ')
ARMBIAN_dtb=$(dpkg -s linux-dtb-$BRANCH-$LINUXFAMILY|grep Version|cut -f 2 -d ' ')
ARMBIAN_firmware=$(dpkg -s armbian-firmware|grep Version|cut -f 2 -d ' ')
ARMBIAN_config=$(dpkg -s armbian-config|grep Version|cut -f 2 -d ' ')

printf 'ARMBIAN bsp      : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_bsp"
printf 'ARMBIAN kernel   : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_kernel"
printf 'ARMBIAN u-boot   : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_uboot"
printf 'ARMBIAN dtb      : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_dtb"
printf 'ARMBIAN firmware : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_firmware"
printf 'ARMBIAN config   : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_config"

printf '\n'
printf 'ARMBIAN kernel   : \e[0;91m%s\x1B[0m   u-boot : \e[0;91m%s\x1B[0m   dtb : \e[0;91m%s\x1B[0m   firmware : \e[0;91m%s\x1B[0m  config : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_kernel" "$ARMBIAN_uboot" "$ARMBIAN_dtb" "$ARMBIAN_firmware" "$ARMBIAN_config"
printf '\n'

this will give you the armbian-system-package-informations in different lines or

at the end in one line like in the attached image ;)

 

 

armbian_versions_motd_display.jpg

 

Posted

 

I've added the setting to the header but I don't get the Kernel or DTB information. Not sure why.

 

I put your additional settings at the end of the file.

 

 

On 3/12/2019 at 9:31 PM, guidol said:

for more information about the versions of your armbian-system-packages you could add the following to your
/etc/update-motd.d/10-armbian-header


ARMBIAN_bsp=$(more /etc/armbian-release|grep VERSION|cut -f 2 -d '=')
ARMBIAN_kernel=$(dpkg -s linux-image-$BRANCH-$LINUXFAMILY|grep Version|cut -f 2 -d ' ')
ARMBIAN_uboot=$(dpkg -s linux-u-boot-$BOARD-$BRANCH|grep Version|cut -f 2 -d ' ')
ARMBIAN_dtb=$(dpkg -s linux-dtb-$BRANCH-$LINUXFAMILY|grep Version|cut -f 2 -d ' ')
ARMBIAN_firmware=$(dpkg -s armbian-firmware|grep Version|cut -f 2 -d ' ')
ARMBIAN_config=$(dpkg -s armbian-config|grep Version|cut -f 2 -d ' ')

printf 'ARMBIAN bsp      : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_bsp"
printf 'ARMBIAN kernel   : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_kernel"
printf 'ARMBIAN u-boot   : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_uboot"
printf 'ARMBIAN dtb      : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_dtb"
printf 'ARMBIAN firmware : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_firmware"
printf 'ARMBIAN config   : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_config"

printf '\n'
printf 'ARMBIAN kernel   : \e[0;91m%s\x1B[0m   u-boot : \e[0;91m%s\x1B[0m   dtb : \e[0;91m%s\x1B[0m   firmware : \e[0;91m%s\x1B[0m  config : \e[0;91m%s\x1B[0m\n' "$ARMBIAN_kernel" "$ARMBIAN_uboot" "$ARMBIAN_dtb" "$ARMBIAN_firmware" "$ARMBIAN_config"
printf '\n'

this will give you the armbian-system-package-informations in different lines or

at the end in one line like in the attached image ;)

 

On 3/12/2019 at 9:31 PM, guidol said:

 

 

armbian_versions_motd_display.jpg

 

Posted

if config, u-boot and firmware does work then kernel and dtb should also work..

whats the result of

ECHO $BRANCH

and

ECHO $LINUXFAMILY

?

Posted

Did create a more compact version for me (and you?)
 

nano /etc/update-motd.d/10-armbian-header

ARMBIAN_bsp=$(more /etc/armbian-release|grep VERSION|cut -f 2 -d '=')
ARMBIAN_kernel=$(dpkg -s linux-image-$BRANCH-$LINUXFAMILY|grep Version|cut -f 2 -d ' ')
ARMBIAN_uboot=$(dpkg -s linux-u-boot-$BOARD-$BRANCH|grep Version|cut -f 2 -d ' ')
ARMBIAN_dtb=$(dpkg -s linux-dtb-$BRANCH-$LINUXFAMILY|grep Version|cut -f 2 -d ' ')
ARMBIAN_firmware=$(dpkg -s armbian-firmware|grep Version|cut -f 2 -d ' ')
ARMBIAN_config=$(dpkg -s armbian-config|grep Version|cut -f 2 -d ' ')

printf '\n'
printf 'pkg-version kernel[\e[0;91m%s\x1B[0m] u-boot[\e[0;91m%s\x1B[0m] dtb[\e[0;91m%s\x1B[0m] firmware[\e[0;91m%s\x1B[0m] config[\e[0;91m%s\x1B[0m]\n' "$ARMBIAN_kernel" "$ARMBIAN_uboot" "$ARMBIAN_dtb" "$ARMBIAN_firmware" "$ARMBIAN_config"
printf '\n'

 

Show_package_new_version.jpg

Posted
On 3/12/2019 at 12:31 PM, guidol said:

for more information about the versions of your armbian-system-packages you could add the following to your
/etc/update-motd.d/10-armbian-header

That was an excellent tip, thank you very much! :thumbup:

  • Igor changed the title to Updated armbian-config v5.81
Posted

v5.84

  • Added CPU speed and governor management
  • Fixed TVheadend install on Ubuntu
  • Improving two-factor authentication: once enabled, token is one for all local users

  • Added Meson64 overlay config (hardware configuration)

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines