mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
update hooks: delete board /etc/portage/bashrc
The bashrc that is in each board's /etc/portage/ dir is an old tool from crossdev which we no longer use/need, so drop it. Especially since it conflicts with newer bashrc profile stacking. BUG=chromium-os:21276 TEST=chroot updated to 18 and all /etc/portage/bashrc files in /board/*/ are gone Change-Id: I51688ce6c04e91506113d920bf1a50a6a822d2f3 Reviewed-on: https://gerrit.chromium.org/gerrit/11908 Reviewed-by: David James <davidjames@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
7f15be2102
commit
f331598aa9
9
chroot_version_hooks.d/20_board_portage_bashrc
Normal file
9
chroot_version_hooks.d/20_board_portage_bashrc
Normal file
@ -0,0 +1,9 @@
|
||||
# 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.
|
||||
|
||||
# Punt the old board's /etc/portage/bashrc as we don't use it anymore,
|
||||
# and it conflicts with newer bashrc stacking.
|
||||
sudo rm -f /build/*/etc/portage/bashrc
|
||||
|
||||
exit 0
|
||||
Loading…
x
Reference in New Issue
Block a user