Projects
Eulaceura:Factory
grubby
_service:obs_scm:Always-do-the-rungrubby-debug-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:Always-do-the-rungrubby-debug-after-the-normal-kerne.patch of Package grubby
From b9a37e249bf279ceb0b63ad4676f03d11796cfc9 Mon Sep 17 00:00:00 2001 From: Peter Jones <pjones@redhat.com> Date: Mon, 26 Oct 2015 14:22:39 -0400 Subject: [PATCH 18/60] Always do the "rungrubby --debug" after the normal kernel on install. This way the during an update, the right kernel is picked as "default" for the command line arguments. Related: rhbz#1212128 Signed-off-by: Peter Jones <pjones@redhat.com> --- new-kernel-pkg | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/new-kernel-pkg b/new-kernel-pkg index 9f56c47..9574dbb 100755 --- a/new-kernel-pkg +++ b/new-kernel-pkg @@ -243,8 +243,8 @@ install() { --args=\"root=$rootdevice $kernargs \$debugargs\" \ --remove-kernel=\"TITLE=$title\$debugtitle\"" - rungrubby --debug ${ARGS} rungrubby ${ARGS} $makedefault + rungrubby --debug ${ARGS} else [ -n "$verbose" ] && echo "$grubConfig does not exist, not running grubby for grub 0.97" fi @@ -257,8 +257,8 @@ install() { ${mbargs:+--mbargs=\"$mbargs\"} \ --args=\"root=$rootdevice $kernargs \$debugargs\" \ --remove-kernel=\"TITLE=$title\$debugtitle\"" - rungrubby --debug ${ARGS} rungrubby ${ARGS} $makedefault + rungrubby --debug ${ARGS} else [ -n "$verbose" ] && echo "$grub2Config does not exist, not running grubby for grub 2" fi @@ -272,8 +272,8 @@ install() { ${mbargs:+--mbargs=\"$mbargs\"} \ --args=\"root=$rootdevice $kernargs \$debugargs\" \ --remove-kernel=\"TITLE=$title\$debugtitle\"" - rungrubby --debug ${ARGS} rungrubby ${ARGS} $makedefault + rungrubby --debug ${ARGS} else [ -n "$verbose" ] && echo "$grub2EfiConfig does not exist, not running grubby for grub 2 with UEFI" fi @@ -288,8 +288,8 @@ install() { --args=\"root=$rootdevice $kernargs \$debugargs\" \ --remove-kernel=\"TITLE=$version\"" - rungrubby --debug ${ARGS} rungrubby ${ARGS} $makedefault + rungrubby --debug ${ARGS} if [ -n "$runLilo" ]; then [ -n "$verbose" ] && echo "running $lilo" if [ ! -x $lilo ] ; then @@ -313,8 +313,8 @@ install() { --args=\"root=$rootdevice $kernargs \$debugargs\" \ --remove-kernel=\"TITLE=$title\$debugtitle\"" - rungrubby --debug ${ARGS} rungrubby ${ARGS} $makedefault + rungrubby --debug ${ARGS} else [ -n "$verbose" ] && echo "$extlinuxConfig does not exist, not running grubby for extlinux" fi @@ -480,8 +480,8 @@ update() { ${mbkernel:+--add-multiboot=\"$mbkernel\"} \ --title=\"$title\$debugtitle\"" - rungrubby --debug ${ARGS} rungrubby ${ARGS} + rungrubby --debug ${ARGS} else [ -n "$verbose" ] && echo "$grubConfig does not exist, not running grubby" fi @@ -493,8 +493,8 @@ update() { ${removeargs:+--remove-args=\"$removeargs\"} \ --title=\"$title\$debugtitle\"" - rungrubby --debug ${ARGS} rungrubby ${ARGS} + rungrubby --debug ${ARGS} else [ -n "$verbose" ] && echo "$grub2Config does not exist, not running grubby" fi @@ -506,8 +506,8 @@ update() { ${removeargs:+--remove-args=\"$removeargs\"} \ --title=\"$title\$debugtitle\"" - rungrubby --debug ${ARGS} rungrubby ${ARGS} + rungrubby --debug ${ARGS} else [ -n "$verbose" ] && echo "$grub2EfiConfig does not exist, not running grubby" fi @@ -519,8 +519,8 @@ update() { ${removeargs:+--remove-args=\"$removeargs\"} \ --title=\"$title\$debugtitle\"" - rungrubby --debug ${ARGS} rungrubby ${ARGS} + rungrubby --debug ${ARGS} if [ -n "$runLilo" ]; then [ -n "$verbose" ] && echo "running $lilo" @@ -571,8 +571,8 @@ update() { ${removeargs:+--remove-args=\"$removeargs\"} \ --title=\"$title\$debugtitle\"" - rungrubby --debug ${ARGS} rungrubby ${ARGS} + rungrubby --debug ${ARGS} else [ -n "$verbose" ] && echo "$extlinuxConfig does not exist, not running grubby" fi -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2