tmpfiles.setup and tmpfiles.dev are not part of OpenRC since version
0.23, resulting in symlinks pointing to non existing files.
See: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=
e0ac661419042cb39c1ccf93df2981504d1e6339
Closes: https://github.com/openrc/openrc/pull/8982
Package-Manager: Portage-2.3.6, Repoman-2.3.1
if ! has_version ">=sys-apps/openrc-0.11.3" ; then
migrate_udev_mount_script
- add_boot_init tmpfiles.setup boot
fi
# these were added in 0.12.
if ! has_version ">=sys-apps/openrc-0.12"; then
add_boot_init loopback
- add_boot_init tmpfiles.dev sysinit
# ensure existing /etc/conf.d/net is not removed
# undoes the hack to get around CONFIG_PROTECT in openrc-0.11.8 and earlier
if ! has_version ">=sys-apps/openrc-0.11.3" ; then
migrate_udev_mount_script
- add_boot_init tmpfiles.setup boot
fi
# these were added in 0.12.
if ! has_version ">=sys-apps/openrc-0.12"; then
add_boot_init loopback
- add_boot_init tmpfiles.dev sysinit
# ensure existing /etc/conf.d/net is not removed
# undoes the hack to get around CONFIG_PROTECT in openrc-0.11.8 and earlier
if ! has_version ">=sys-apps/openrc-0.11.3" ; then
migrate_udev_mount_script
- add_boot_init tmpfiles.setup boot
fi
# these were added in 0.12.
if ! has_version ">=sys-apps/openrc-0.12"; then
add_boot_init loopback
- add_boot_init tmpfiles.dev sysinit
# ensure existing /etc/conf.d/net is not removed
# undoes the hack to get around CONFIG_PROTECT in openrc-0.11.8 and earlier
if ! has_version ">=sys-apps/openrc-0.11.3" ; then
migrate_udev_mount_script
- add_boot_init tmpfiles.setup boot
fi
# these were added in 0.12.
if ! has_version ">=sys-apps/openrc-0.12"; then
add_boot_init loopback
- add_boot_init tmpfiles.dev sysinit
# ensure existing /etc/conf.d/net is not removed
# undoes the hack to get around CONFIG_PROTECT in openrc-0.11.8 and earlier
if ! has_version ">=sys-apps/openrc-0.11.3" ; then
migrate_udev_mount_script
- add_boot_init tmpfiles.setup boot
fi
# these were added in 0.12.
if ! has_version ">=sys-apps/openrc-0.12"; then
add_boot_init loopback
- add_boot_init tmpfiles.dev sysinit
# ensure existing /etc/conf.d/net is not removed
# undoes the hack to get around CONFIG_PROTECT in openrc-0.11.8 and earlier