Use lsb_release for tracking Finnix version information

Bug #902746 reported by Ryan Finnie on 2011-12-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ryan Finnie

Bug Description

apt-get install lsb-release

Create /etc/lsb-release in finnix-release:

Replace all checks of /etc/finnix-version with checks of /etc/lsb-release, either $DISTRIB_RELEASE or $DISTRIB_DESCRIPTION where appropriate. (Make sure it should always be safe to pull in as ". /etc/lsb-release")

Remove /etc/finnix-version from finnix-release.

Modify stage2 to copy /etc/lsb-release to initrd and use as appopriate.

The 4 variables were copied from an Ubuntu install; are there any other standardized variables that could be useful?

See how much "Finnix" could be relplaced by $DISTRIB_ID for rebranding remasters.

Ryan Finnie (fo0bar) wrote :

/usr/bin/lsb_release only seems concerned with ID, RELEASE, CODENAME and DESCRIPTION.

Changed in finnix:
importance: Undecided → Wishlist
assignee: nobody → Ryan Finnie (ryan-finnie)
milestone: none → 104
Ryan Finnie (fo0bar) wrote :

Update private combiso build script.

Ryan Finnie (fo0bar) wrote :

/etc/lsb-release implemented; initscripts, finnix-hwsubmit and initrd modified to use it. Leaving open to look for other stuff that can use it.

Changed in finnix:
status: New → In Progress
Ryan Finnie (fo0bar) wrote :

combiso updated, everything else looks good so far.

Changed in finnix:
status: In Progress → Fix Committed
Ryan Finnie (fo0bar) on 2012-03-05
Changed in finnix:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers