mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
feat(profiles): Add systemd profile from my Gentoo systemd-only overlay.
No need for me to maintain a similar profile in two entirely different ways. This is also one tiny step towards cleaning up our profiles in general. Original here: https://github.com/marineam/systemd-only-overlay As part of this change the baselayout dependency on openrc is now handled via a use flag instead of package.provided. We didn't previously include a virtual/init package but Gentoo has one and I needed it for my generic systemd-only overlay so might as well include it here if it is needed in the future.
This commit is contained in:
parent
8aac92d989
commit
a6e4651e25
1
sdk_container/src/third_party/coreos-overlay/profiles/features/systemd/make.defaults
vendored
Normal file
1
sdk_container/src/third_party/coreos-overlay/profiles/features/systemd/make.defaults
vendored
Normal file
@ -0,0 +1 @@
|
||||
USE="systemd"
|
||||
@ -0,0 +1,9 @@
|
||||
sys-apps/systemd ~amd64 ~x86
|
||||
sys-apps/systemd-ui ~amd64 ~x86
|
||||
sys-apps/systemd-sysv-utils ~amd64 ~x86
|
||||
sys-apps/efunctions ~amd64 ~x86
|
||||
|
||||
# Various dependencies that also need to be up-to-date
|
||||
sys-apps/hwids ~amd64 ~x86
|
||||
sys-apps/kmod ~amd64 ~x86
|
||||
virtual/udev ~amd64 ~x86
|
||||
4
sdk_container/src/third_party/coreos-overlay/profiles/features/systemd/package.mask
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/profiles/features/systemd/package.mask
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# Mask sysvinit+openrc and runit+openrc in favor of systemd
|
||||
sys-apps/sysvinit
|
||||
sys-apps/openrc
|
||||
sys-process/runit
|
||||
3
sdk_container/src/third_party/coreos-overlay/profiles/features/systemd/package.unmask
vendored
Normal file
3
sdk_container/src/third_party/coreos-overlay/profiles/features/systemd/package.unmask
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
sys-apps/systemd
|
||||
sys-apps/systemd-ui
|
||||
sys-apps/systemd-sysv-utils
|
||||
2
sdk_container/src/third_party/coreos-overlay/profiles/features/systemd/packages
vendored
Normal file
2
sdk_container/src/third_party/coreos-overlay/profiles/features/systemd/packages
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# Add systemd to the 'system' set
|
||||
*sys-apps/systemd
|
||||
2
sdk_container/src/third_party/coreos-overlay/profiles/features/systemd/packages.build
vendored
Normal file
2
sdk_container/src/third_party/coreos-overlay/profiles/features/systemd/packages.build
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
sys-apps/dbus
|
||||
sys-apps/efunctions
|
||||
2
sdk_container/src/third_party/coreos-overlay/profiles/features/systemd/use.mask
vendored
Normal file
2
sdk_container/src/third_party/coreos-overlay/profiles/features/systemd/use.mask
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
openrc
|
||||
-systemd
|
||||
@ -2,6 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-2.2.ebuild,v 1.14 2013/05/20 17:56:20 ago Exp $
|
||||
|
||||
EAPI=1
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Filesystem baselayout and init scripts"
|
||||
@ -12,9 +13,10 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="build kernel_linux"
|
||||
IUSE="build kernel_linux +openrc"
|
||||
|
||||
PDEPEND="sys-apps/openrc"
|
||||
PDEPEND="openrc? ( sys-apps/openrc )
|
||||
!openrc? ( sys-apps/efunctions )"
|
||||
|
||||
pkg_setup() {
|
||||
multilib_layout
|
||||
|
||||
20
sdk_container/src/third_party/coreos-overlay/virtual/init/init-0.ebuild
vendored
Normal file
20
sdk_container/src/third_party/coreos-overlay/virtual/init/init-0.ebuild
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/virtual/init/init-0.ebuild,v 1.16 2012/05/16 07:40:58 heroxbd Exp $
|
||||
|
||||
DESCRIPTION="Virtual for various init implementations"
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE=""
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!prefix? (
|
||||
kernel_linux? ( || ( >=sys-apps/sysvinit-2.86-r6
|
||||
sys-apps/systemd-sysv-utils
|
||||
sys-process/runit ) )
|
||||
kernel_FreeBSD? ( sys-freebsd/freebsd-sbin )
|
||||
)"
|
||||
DEPEND=""
|
||||
Loading…
x
Reference in New Issue
Block a user