diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-12-03 12:52:36 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-12-03 12:54:49 +0100 |
commit | ba311ecca29333b688b1b5b9fe9725b77b9e5a88 (patch) | |
tree | 913e7c451c0c37f775575b7e02420aa3efff247f /sys-apps/sysvinit | |
parent | app-office/libreoffice-bin: Drop 7.1.5.2 (diff) | |
download | gentoo-ba311ecca29333b688b1b5b9fe9725b77b9e5a88.tar.gz gentoo-ba311ecca29333b688b1b5b9fe9725b77b9e5a88.tar.bz2 gentoo-ba311ecca29333b688b1b5b9fe9725b77b9e5a88.zip |
sys-apps/sysvinit: Revbump so users can customize bootlogd startup
Thanks-to: Bogdan <bogdan.pylypenko107@gmail.com>
Closes: https://bugs.gentoo.org/828061
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/sysvinit')
-rw-r--r-- | sys-apps/sysvinit/files/bootlogd.confd | 2 | ||||
-rw-r--r-- | sys-apps/sysvinit/files/bootlogd.initd | 4 | ||||
-rw-r--r-- | sys-apps/sysvinit/sysvinit-2.99-r1.ebuild (renamed from sys-apps/sysvinit/sysvinit-2.99.ebuild) | 1 | ||||
-rw-r--r-- | sys-apps/sysvinit/sysvinit-3.00-r1.ebuild (renamed from sys-apps/sysvinit/sysvinit-3.00.ebuild) | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/sys-apps/sysvinit/files/bootlogd.confd b/sys-apps/sysvinit/files/bootlogd.confd new file mode 100644 index 000000000000..ac456db6ecf7 --- /dev/null +++ b/sys-apps/sysvinit/files/bootlogd.confd @@ -0,0 +1,2 @@ +# Put your bootlog options into this +#BOOTLOGD_ARGS="-l /var/log/boot" diff --git a/sys-apps/sysvinit/files/bootlogd.initd b/sys-apps/sysvinit/files/bootlogd.initd index a42219271a80..ef238c13922b 100644 --- a/sys-apps/sysvinit/files/bootlogd.initd +++ b/sys-apps/sysvinit/files/bootlogd.initd @@ -1,8 +1,8 @@ #!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 description="bootlogd - record boot messages (sysvinit)" pidfile="/run/bootlogd" command="/sbin/bootlogd" -command_args="-p ${pidfile}" +command_args="-p ${pidfile} ${BOOTLOGD_ARGS}" diff --git a/sys-apps/sysvinit/sysvinit-2.99.ebuild b/sys-apps/sysvinit/sysvinit-2.99-r1.ebuild index f370b1a50ee7..9d78abebae42 100644 --- a/sys-apps/sysvinit/sysvinit-2.99.ebuild +++ b/sys-apps/sysvinit/sysvinit-2.99-r1.ebuild @@ -110,6 +110,7 @@ src_install() { doins "${WORKDIR}"/inittab newinitd "${FILESDIR}"/bootlogd.initd bootlogd + newconfd "${FILESDIR}"/bootlogd.confd bootlogd into / dosbin "${FILESDIR}"/halt.sh diff --git a/sys-apps/sysvinit/sysvinit-3.00.ebuild b/sys-apps/sysvinit/sysvinit-3.00-r1.ebuild index e2a06d6700d2..83d6e6f7635b 100644 --- a/sys-apps/sysvinit/sysvinit-3.00.ebuild +++ b/sys-apps/sysvinit/sysvinit-3.00-r1.ebuild @@ -110,6 +110,7 @@ src_install() { doins "${WORKDIR}"/inittab newinitd "${FILESDIR}"/bootlogd.initd bootlogd + newconfd "${FILESDIR}"/bootlogd.confd bootlogd into / dosbin "${FILESDIR}"/halt.sh |