From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/lxc/
Date: Fri, 5 Apr 2024 13:24:19 +0000 (UTC) [thread overview]
Message-ID: <1712323457.1e1b278d4fd7e09720ef65bb83d16c91d032f7c5.juippis@gentoo> (raw)
commit: 1e1b278d4fd7e09720ef65bb83d16c91d032f7c5
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 5 13:21:29 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Apr 5 13:24:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e1b278d
app-containers/lxc: flip -Dinstall-init-files from false to true
- it installs more files, under /etc/default, /usr/libexec, etc, that
may be important to some users.
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
app-containers/lxc/{lxc-6.0.0.ebuild => lxc-6.0.0-r1.ebuild} | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/app-containers/lxc/lxc-6.0.0.ebuild b/app-containers/lxc/lxc-6.0.0-r1.ebuild
similarity index 94%
rename from app-containers/lxc/lxc-6.0.0.ebuild
rename to app-containers/lxc/lxc-6.0.0-r1.ebuild
index 7452b2ec74ca..64d7aef60e47 100644
--- a/app-containers/lxc/lxc-6.0.0.ebuild
+++ b/app-containers/lxc/lxc-6.0.0-r1.ebuild
@@ -74,7 +74,6 @@ pkg_setup() {
src_configure() {
- # -Dinstall-init-files=false: prefer our own files from ${FILESDIR}
# -Dtools-multicall=false: will create a single binary called 'lxc' that conflicts with LXD.
local emesonargs=(
--localstatedir "${EPREFIX}/var"
@@ -82,13 +81,13 @@ src_configure() {
-Ddbus=true
-Dcoverity-build=false
- -Dinstall-init-files=false
-Dinstall-state-dirs=false
-Doss-fuzz=false
-Dspecfile=false
-Dtools-multicall=false
-Dcommands=true
+ -Dinstall-init-files=true
-Dmemfd-rexec=true
-Dthread-safety=true
@@ -139,6 +138,13 @@ src_install() {
find "${ED}" -name '*.la' -delete -o -name '*.a' -delete || die
+ # Replace upstream sysvinit/systemd files.
+ if use systemd; then
+ rm -r "${D}$(systemd_get_systemunitdir)" || die "Failed to remove systemd lib dir"
+ else
+ rm "${ED}"/etc/init.d/lxc-{containers,net} || die "Failed to remove sysvinit scripts"
+ fi
+
newinitd "${FILESDIR}/${PN}.initd.9" ${PN}
systemd_newunit "${FILESDIR}"/lxc-monitord.service.5.0.0 lxc-monitord.service
systemd_newunit "${FILESDIR}"/lxc-net.service.5.0.0 lxc-net.service
next reply other threads:[~2024-04-05 13:24 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-05 13:24 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-08 8:00 [gentoo-commits] repo/gentoo:master commit in: app-containers/lxc/ Joonas Niilola
2025-01-26 8:05 Joonas Niilola
2025-01-26 8:05 Joonas Niilola
2024-12-21 13:30 Joonas Niilola
2024-10-25 11:09 Joonas Niilola
2024-10-20 6:27 Joonas Niilola
2024-10-20 6:27 Joonas Niilola
2024-09-28 12:46 Joonas Niilola
2024-09-19 5:45 Joonas Niilola
2024-09-19 5:45 Joonas Niilola
2024-09-17 7:20 Joonas Niilola
2024-08-02 13:21 Joonas Niilola
2024-06-27 5:32 Joonas Niilola
2024-06-01 8:37 Joonas Niilola
2024-05-19 8:17 Joonas Niilola
2024-05-19 8:17 Joonas Niilola
2024-05-08 6:46 Joonas Niilola
2024-05-05 6:28 Joonas Niilola
2024-04-05 7:57 Joonas Niilola
2023-08-31 7:07 Joonas Niilola
2023-08-31 7:07 Joonas Niilola
2023-02-20 8:09 Joonas Niilola
2023-02-20 8:06 Joonas Niilola
2023-01-19 15:10 Joonas Niilola
2022-11-01 12:19 Joonas Niilola
2022-11-01 12:19 Joonas Niilola
2022-11-01 12:19 Joonas Niilola
2022-11-01 12:19 Joonas Niilola
2022-09-18 7:22 Joonas Niilola
2022-09-18 7:22 Joonas Niilola
2022-08-31 6:09 Joonas Niilola
2022-08-31 6:09 Joonas Niilola
2022-07-28 7:58 Joonas Niilola
2022-07-25 9:53 Matthias Maier
2022-07-18 12:52 Sam James
2022-07-18 12:52 Sam James
2022-07-18 12:52 Sam James
2022-07-18 12:26 Joonas Niilola
2022-07-18 7:37 Joonas Niilola
2022-03-20 6:22 Joonas Niilola
2022-03-20 6:22 Joonas Niilola
2022-02-02 8:53 Joonas Niilola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1712323457.1e1b278d4fd7e09720ef65bb83d16c91d032f7c5.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox