Use lsb_release for tracking Finnix version information

Bug #902746 reported by Ryan Finnie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Finnix
Fix Released
Wishlist
Ryan Finnie

Bug Description

apt-get install lsb-release

Create /etc/lsb-release in finnix-release:
DISTRIB_ID=Finnix
DISTRIB_RELEASE=104
DISTRIB_CODENAME=Appleton
DISTRIB_DESCRIPTION="Finnix 104"

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.

Revision history for this message
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
Revision history for this message
Ryan Finnie (fo0bar) wrote :

Update private combiso build script.

Revision history for this message
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
Revision history for this message
Ryan Finnie (fo0bar) wrote :

combiso updated, everything else looks good so far.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.