feat(profiles): Add coreos/amd64/usr profile.

This profile enables the symlink-usr USE flag and target profiles have a
new variable COREOS_DISK_LAYOUT_SUFFIX that allows the profile to switch
to a different set of disk layouts. By default no suffix is used but the
usr profile uses layouts with the suffix "-usr" such as "base-usr".
This commit is contained in:
Michael Marineau 2014-01-05 14:13:07 -08:00
parent d7b07174ba
commit c1e8a96cda
5 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,4 @@
..
portage-stable:arch/amd64/no-multilib
portage-stable:features/64bit-native
:coreos/targets/usr

View File

@ -0,0 +1,2 @@
# We don't do multilib.
-multilib

View File

@ -36,3 +36,6 @@ PROD_INSTALL_MASK="${INSTALL_MASK}
/usr/share/readline
/usr/src
"
# No suffix for 'generic' (use base, not base-usr)
COREOS_DISK_LAYOUT_SUFFIX=""

View File

@ -0,0 +1,8 @@
# Copyright (c) 2014 The CoreOS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
# Enable tweaks to install everything under /usr
USE="symlink-usr"
# Append -usr to disk layout names (use base-usr, not base)
COREOS_DISK_LAYOUT_SUFFIX="-usr"

View File

@ -0,0 +1 @@
:coreos/targets/generic