system: 'kernel->boot-label' now accepts inferior packages.
authorPkill -9 <pkill9@runbox.com>
Wed, 19 Dec 2018 20:22:20 +0000 (20:22 +0000)
committerLudovic Courtès <ludo@gnu.org>
Fri, 21 Dec 2018 17:07:28 +0000 (18:07 +0100)
commitbdc61ff97d26d5d87020d07dfd43c0a552bd3449
tree0d2a9f24006e06ae73c9a293d9473e8d50492728
parent4b33a74138740101042c31bef304b8ba35e81126
system: 'kernel->boot-label' now accepts inferior packages.

* gnu/system.scm (kernel->boot-label): Get package name and version
using the functions for inferior packages if the kernel is an
inferior package. Return "GNU" if the kernel is not a package.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/system.scm