mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
Uninstall old grub in the chroot
BUG=chromium-os:21244 TEST=./build_packages unmerges old grub and installs new one (with related change) Change-Id: Iadfbd219a989f71258786591c047ace3931f1e9c Reviewed-on: https://gerrit.chromium.org/gerrit/11951 Reviewed-by: Bill Richardson <wfrichar@chromium.org> Tested-by: Anush Elangovan <anush@chromium.org>
This commit is contained in:
parent
48edc99a55
commit
8d3ea4b7e8
8
chroot_version_hooks.d/17_grub_upgrade
Normal file
8
chroot_version_hooks.d/17_grub_upgrade
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
CLEAN_DELAY=0 sudo emerge --unmerge =sys-boot/grub-1.97-r2
|
||||
|
||||
info "Chroot upgraded to version 17: Removed old grub install"
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user