integ/grub/grubby/centos/patches/1000-Generic-name-for-Titanium.patch
Scott Little 50838ff661 Relocate grubby to stx-integ/grub/grubby
Move content from stx-utils into stx-integ or stx-update

Packages will be relocated to

stx-update:
    enable-dev-patch
    extras

stx-integ:
    config-files/
        io-scheduler

    filesystem/
        filesystem-scripts

    grub/
        grubby

    logging/
        logmgmt

    tools/
        collector
        monitor-tools

    tools/engtools/
        hostdata-collectors
        parsers

    utilities/
        build-info
        branding   (formerly wrs-branding)
        platform-util

Change-Id: If77fdabde9ff43b5e4381837283bac1d39112c58
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-01 12:25:42 -04:00

26 lines
689 B
Diff

From 7d3bd33be8b2c9924a2987710f54f5c62853d86c Mon Sep 17 00:00:00 2001
From: jmckenna <jason.mckenna@windriver.com>
Date: Wed, 5 Apr 2017 09:35:06 -0400
Subject: [PATCH] Use generic OS title for Titanium
---
new-kernel-pkg | 2 ++
1 file changed, 2 insertions(+)
diff --git a/new-kernel-pkg b/new-kernel-pkg
index 847e959..977ef2d 100755
--- a/new-kernel-pkg
+++ b/new-kernel-pkg
@@ -166,6 +166,8 @@ set_title() {
fi
elif [ $ARCH = 's390' -o $ARCH = 's390x' ]; then
title=$(echo $version | sed 's/ /_/g')
+ elif [ -f /etc/build.info ]; then
+ title="Linux ($version)"
elif [ -f /etc/os-release ]; then
. /etc/os-release
title="$NAME ($version) $VERSION"
--
1.9.1