summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Kowis2011-12-20 21:18:10 -0600
committerDavid Kowis2011-12-20 21:18:10 -0600
commitd93025540a839084233f614999babc8e68465bb6 (patch)
treea10479789f31152dfdba73dae9e9de113a2c7742
parent97f10794554a65823c2473b0558e8da39e839be5 (diff)
systemd: more tweaks to get the spell to 100%
-rw-r--r--smgl/systemd/HISTORY2
-rwxr-xr-xsmgl/systemd/INSTALL4
-rwxr-xr-x[-rw-r--r--]smgl/systemd/UP_TRIGGERS7
3 files changed, 11 insertions, 2 deletions
diff --git a/smgl/systemd/HISTORY b/smgl/systemd/HISTORY
index 283c455dae..352a6a6780 100644
--- a/smgl/systemd/HISTORY
+++ b/smgl/systemd/HISTORY
@@ -2,6 +2,8 @@
* DEPENDS: added additional dependencies
* CONFIGURE: added configure options
* BUILD: set the root directory correctly
+ * INSTALL: added logic to barf out one more config file that's needed
+ * UP_TRIGGERS: Set the triggers to fire only if we're doing a fresh install
2011-12-19 David Kowis <dkowis@shlrm.org>
* DEPENDS: needs intltool to successfully build
diff --git a/smgl/systemd/INSTALL b/smgl/systemd/INSTALL
new file mode 100755
index 0000000000..0fd61f7fcc
--- /dev/null
+++ b/smgl/systemd/INSTALL
@@ -0,0 +1,4 @@
+default_install &&
+if ! [ -f ${INSTALL_ROOT}/etc/vconsole.conf ]; then
+ echo "FONT=default8x16" > ${INSTALL_ROOT}/etc/vconsole.conf
+fi
diff --git a/smgl/systemd/UP_TRIGGERS b/smgl/systemd/UP_TRIGGERS
index d304c5ceb4..332f4d07e6 100644..100755
--- a/smgl/systemd/UP_TRIGGERS
+++ b/smgl/systemd/UP_TRIGGERS
@@ -1,2 +1,5 @@
-up_trigger udev cast_self
-up_trigger dbus cast_self
+# only force a rebuild on these if it's a fresh install
+if ! spell_ok systemd ; then
+ up_trigger udev cast_self
+ up_trigger dbus cast_self
+fi