Modify

Opened 9 years ago

Closed 3 years ago

#4053 closed enhancement (wontfix)

OpenWRT should have a /etc/lsb-release

Reported by: anonymous Owned by: developers
Priority: lowest Milestone: Features Paradise
Component: base system Version: Trunk
Keywords: lsb-release, distribution Cc:

Description

To make identify the Distro easier there should be a /etc/lsb-release contain:

DISTRIB_ID=OpenWrt
DISTRIB_RELEASE=8.09
DISTRIB_CODENAME=Kamikaze 8.09
DISTRIB_DESCRIPTION="OpenWrt 8.09"

Attachments (1)

lsb.patch (274 bytes) - added by jimmy.hedman@… 9 years ago.
Add /etc/lsb-release

Download all attachments as: .zip

Change History (11)

comment:1 Changed 9 years ago by Simon Josefsson <simon@…>

Good idea.

Btw, the third line should use quotes:

DISTRIB_CODENAME="Kamikaze 8.09"

Changed 9 years ago by jimmy.hedman@…

Add /etc/lsb-release

comment:2 Changed 9 years ago by nbd

IMHO this is unnecessary. OpenWrt does not support LSB (and probably never will)

comment:3 Changed 9 years ago by thepeople

  • Milestone changed from Kamikaze 8.09 to Kamikaze Features Paradize

comment:4 Changed 9 years ago by florian

  • Resolution set to wontfix
  • Status changed from new to closed

comment:5 Changed 9 years ago by anonymous

Is the lsb-relase say this is a lsb compatible? AFIAK not.

Then a /etc/lsb-release is only a good point to look what kind of distro or version is this.

comment:6 follow-up: Changed 3 years ago by lopter

  • Resolution wontfix deleted
  • Status changed from closed to reopened

Hello,

Could we reconsider this? Supporting LSB is obviously not the point, but this is very useful for configuration management tools like salt, puppet, you name it.

Thanks!

comment:7 in reply to: ↑ 6 Changed 3 years ago by anonymous

Replying to lopter:

Could we reconsider this? Supporting LSB is obviously not the point, but this is very useful for configuration management tools like salt, puppet, you name it.

There is already the /etc/openwrt_release file containing the info. Why create duplicate functionality?

root@OpenWrt:~# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='Bleeding Edge'
DISTRIB_REVISION='r44062'
DISTRIB_CODENAME='chaos_calmer'
DISTRIB_TARGET='ar71xx/generic'
DISTRIB_DESCRIPTION='OpenWrt Chaos Calmer r44062'
DISTRIB_TAINTS='no-all busybox'

Ps. It makes no sense to re-open 6 year old tickets.

comment:8 Changed 3 years ago by lopter

Oh nice!

Then I guess what's missing is a very simple lsb_release binary, did I miss something when I configured my build?

comment:9 Changed 3 years ago by florian

  • Version set to Trunk

You could certainly create a small shell script wrapper which returns the relevant portions of /etc/openwrt_release.

comment:10 Changed 3 years ago by nbd

  • Resolution set to wontfix
  • Status changed from reopened to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.