mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
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:
parent
d7b07174ba
commit
c1e8a96cda
4
sdk_container/src/third_party/coreos-overlay/profiles/coreos/amd64/usr/parent
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/profiles/coreos/amd64/usr/parent
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
..
|
||||
portage-stable:arch/amd64/no-multilib
|
||||
portage-stable:features/64bit-native
|
||||
:coreos/targets/usr
|
2
sdk_container/src/third_party/coreos-overlay/profiles/coreos/amd64/usr/use.force
vendored
Normal file
2
sdk_container/src/third_party/coreos-overlay/profiles/coreos/amd64/usr/use.force
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# We don't do multilib.
|
||||
-multilib
|
@ -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=""
|
||||
|
8
sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/usr/make.defaults
vendored
Normal file
8
sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/usr/make.defaults
vendored
Normal 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"
|
1
sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/usr/parent
vendored
Normal file
1
sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/usr/parent
vendored
Normal file
@ -0,0 +1 @@
|
||||
:coreos/targets/generic
|
Loading…
Reference in New Issue
Block a user