mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 15:01:00 +02:00
eclass: Drop unused WIP class from 2013
Added in 0173e3f2cba17186d74382fd5939a005486c0cee.
This commit is contained in:
parent
9140edcce9
commit
8210d0b43f
@ -1,17 +0,0 @@
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS-VARIABLE: CONFLICT_LIST
|
||||
# @DESCRIPTION:
|
||||
# Atoms mentioned in CONFLICT_LIST need to either be unmerged or upgraded
|
||||
# prior to this package being installed, but we don't want to have an explicit
|
||||
# dependency on that package. So instead, we do the following:
|
||||
# 1. When we are installed, ensure that the old version is not installed.
|
||||
# 2. If old version is installed, ask emerge to consider upgrading it.
|
||||
# This consideration is listed as PDEPEND so that we don't add an
|
||||
# explicit dependency on the other package.
|
||||
for atom in $CONFLICT_LIST; do
|
||||
DEPEND="$DEPEND !!<=$atom"
|
||||
RDEPEND="$RDEPEND !!<=$atom"
|
||||
PDEPEND="$PDEPEND || ( >$atom !!<=$atom )"
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user