ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] U: grub-efi-2.00-alt9: missing post script
Date: Thu, 31 Jan 2013 08:54:24 +0200
Message-ID: <20130131065424.GK21896@osdn.org.ua> (raw)
In-Reply-To: <20130131012921.GA21935@granary.egro.altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

On Thu, Jan 31, 2013 at 01:29:21AM +0000, QA Team Robot wrote:
> grub2 - GRand Unified Bootloader
> * Wed Jan 23 2013 Michael Shigorin <mike@altlinux> 2.00-alt9
> - efi subpackage is signed by default on x86_64
> - introduced efi-unsigned subpackage with a clean copy
> - initial grub-2.00-install-uefi-signed.patch based on
>   ubuntu_install_signed.patch from 2.00-11ubuntu1 package
> - initial efi postinstall update script

Недосмотрел -- скрипт grub-efi-autoupdate есть в gear repo,
но не вошёл в собственно пакет.

Прошу пользователей grub-efi, если таковые уже есть,
положить приложенный вариант в /usr/sbin и запустить.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #2: grub-efi-autoupdate --]
[-- Type: text/plain, Size: 497 bytes --]

#! /bin/sh

if [ ! -d /sys/firmware/efi ]; then
	echo "Not booted in EFI mode, unable to update EFI GRUB"
	exit 0
fi

DIST="ALT Linux"
EFI_DIR="/boot/efi"
GRUB_EFI="$EFI_DIR/EFI/$DIST/grubx64.efi"

if [ ! -f "$GRUB_EFI" ]; then
    echo "$GRUB_EFI missing, nothing to update"
    exit 0
fi

case "$GRUB_AUTOUPDATE_FORCE" in
	true|yes) GRUB_FORCE="--force";;
esac

echo "Updating grub in $EFI_DIR"
grub-install \
	--target=x86_64-efi --efi-directory="$EFI_DIR" \
	--bootloader-id="$DIST" --recheck

           reply	other threads:[~2013-01-31  6:54 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20130131012921.GA21935@granary.egro.altlinux.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130131065424.GK21896@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@gmail.com \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git