Hi, Here are attached two patches, the first one gives Gentoo's getty support, but it doesn't work without the second one for Makefile.am (it didn't with --with-distro=debian neither when I tested so I assumed I should add all distros listed in the configure.ac) I'm not very familiar with autotools so the second one probably needs reworking.
From 4b4738fa5fdce031feb5c5dc34a08059191067c1 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Perennou <[email protected]> Date: Mon, 17 May 2010 12:43:15 +0200 Subject: [PATCH 2/2] expose all distros in Makefile.am
--- Makefile.am | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/Makefile.am b/Makefile.am index 3b54699..c0af5b9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -323,6 +323,26 @@ M4_FLAGS = if TARGET_FEDORA M4_FLAGS += -DTARGET_FEDORA=1 +else +if TARGET_SUSE +M4_FLAGS += -DTARGET_SUSE=1 +else +if TARGET_DEBIAN +M4_FLAGS += -DTARGET_DEBIAN=1 +else +if TARGET_ARCH +M4_FLAGS += -DTARGET_ARCH=1 +else +if TARGET_GENTOO +M4_FLAGS += -DTARGET_GENTOO=1 +else +if TARGET_SLACKWARE +M4_FLAGS += -DTARGET_SLACKWARE=1 +endif +endif +endif +endif +endif endif M4_PROCESS_SYSTEM = \ -- 1.7.1
From 89431c3211f9927553057362c66a490c75f84208 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Perennou <[email protected]> Date: Mon, 17 May 2010 11:49:58 +0200 Subject: [PATCH 1/2] units: add [email protected] define for Gentoo --- units/[email protected] | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/units/[email protected] b/units/[email protected] index b951248..9787638 100644 --- a/units/[email protected] +++ b/units/[email protected] @@ -17,6 +17,7 @@ m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl +m4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl m4_dnl [Unit] Description=Getty on %I -- 1.7.1
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
