From f331598aa949babae6d3cacef6c781802b4c62ca Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 18 Nov 2011 11:05:43 -0500 Subject: [PATCH] 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 Commit-Ready: Mike Frysinger Tested-by: Mike Frysinger --- chroot_version_hooks.d/20_board_portage_bashrc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 chroot_version_hooks.d/20_board_portage_bashrc diff --git a/chroot_version_hooks.d/20_board_portage_bashrc b/chroot_version_hooks.d/20_board_portage_bashrc new file mode 100644 index 0000000000..3606516961 --- /dev/null +++ b/chroot_version_hooks.d/20_board_portage_bashrc @@ -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