Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=systemd.git;a=commitdiff;h=037582b2abc3464922b99ddac5e8cd83ac1bfa10

commit 037582b2abc3464922b99ddac5e8cd83ac1bfa10
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Tue Dec 14 01:39:07 2010 +0100

systemd-15-25-i686

- fix compatibility issue: have 11 tty instead of 6 one
- fix typo in install scriptlet

diff --git a/source/base/systemd/FrugalBuild b/source/base/systemd/FrugalBuild
index d51a97b..1533efc 100644
--- a/source/base/systemd/FrugalBuild
+++ b/source/base/systemd/FrugalBuild
@@ -9,7 +9,7 @@ USE_SYSV_REPLACE=${USE_SYSV_REPLACE:-"n"}

pkgname=systemd
pkgver=15
-pkgrel=24
+pkgrel=25
pkgdesc="A System and Service Manager"
url="http://www.freedesktop.org/wiki/Software/systemd";
source=(http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.bz2 \
@@ -123,6 +123,14 @@ build()
Frm /lib/systemd/system/syslog.socket
Fsed 'syslog.socket' 'syslog.service' 
$Fdestdir/lib/systemd/system/systemd-{logger,kmsg-syslogd}.service

+       # compatibility: have 11 tty instead of 6
+       s=""
+       for i in $(seq 6 11)
+       do
+               s="$s getty.target.wants/ge...@tty$i.service"
+       done
+       Fsed " getty.target.wants/ge...@tty6.service" "$s" 
$Fdestdir/lib/systemd/system/ge...@.service
+
# Make sure these directories are properly owned
Fmkdir lib/systemd/system/basic.target.wants
Fmkdir lib/systemd/system/default.target.wants
diff --git a/source/base/systemd/systemd.install 
b/source/base/systemd/systemd.install
index 1a20cdd..2985b56 100644
--- a/source/base/systemd/systemd.install
+++ b/source/base/systemd/systemd.install
@@ -15,7 +15,7 @@ post_install() {
hwclock-load.service
#now /etc/mtab is a symlink
rm /etc/mtab
-       ls -sf /proc/self/mounts /etc/mtab
+       ln -sf /proc/self/mounts /etc/mtab
}

post_upgrade() {
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to