]> err.no Git - systemd/commitdiff
Add systemd-sysv package which ships the symlinks that replaces sysvinit
authorTollef Fog Heen <tfheen@err.no>
Wed, 7 Jul 2010 20:01:32 +0000 (22:01 +0200)
committerTollef Fog Heen <tfheen@err.no>
Wed, 7 Jul 2010 20:01:32 +0000 (22:01 +0200)
debian/control
debian/rules
debian/systemd-sysv.install [new file with mode: 0644]
debian/systemd-sysv.links [new file with mode: 0644]
debian/systemd.install [new file with mode: 0644]

index 7ed0878fc21d3695125f8ed14dc76e28c2f43192..5227d86892a19a8a701bc702255dffbb02d69085 100644 (file)
@@ -18,3 +18,22 @@ Description: system and session manager
  It also provides process supervision using cgroups and the ability to
  not only depend on other init script being started, but also
  availability of a given mount point or dbus service.
+
+Package: systemd-sysv
+Architecture: linux-any
+Section: admin
+Priority: extra
+Conflicts: sysvinit
+Replaces: sysvinit
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: system and session manager - SysV links
+ systemd is a replacement for sysvinit.  It is dependency-based and
+ able to read the LSB init script headers in addition to parsing rcN.d
+ links as hints.
+ .
+ It also provides process supervision using cgroups and the ability to
+ not only depend on other init script being started, but also
+ availability of a given mount point or dbus service.
+ .
+ This package provides the manual pages and links needed for systemd
+ to replace sysvinit.
index 0be56c53aed9bc849254d83d21103445ad4a1fa9..34e1c8c6e1b9bea18bde48735176c7db681c3274 100755 (executable)
@@ -3,12 +3,16 @@
 #export DH_VERBOSE=1
 #export DEB_BUILD_OPTIONS="nostrip"
 
+override_dh_install:
+       rm debian/tmp/usr/share/doc/systemd/LICENSE
+       dh_install -O--parallel --fail-missing
+
 override_dh_auto_configure:
        dh_auto_configure -- --with-rootdir=
 
 override_dh_auto_install:
        dh_auto_install
-       rm debian/systemd/etc/systemd/system/runlevel5.target
+       rm debian/tmp/etc/systemd/system/runlevel5.target
        dh_link /lib/systemd/system/multi-user.target etc/systemd/system/runlevel5.target
 
 %:
diff --git a/debian/systemd-sysv.install b/debian/systemd-sysv.install
new file mode 100644 (file)
index 0000000..0f6f677
--- /dev/null
@@ -0,0 +1,7 @@
+usr/share/man/man8/telinit.8
+usr/share/man/man1/init.1
+usr/share/man/man8/runlevel.8
+usr/share/man/man8/shutdown.8
+usr/share/man/man8/poweroff.8
+usr/share/man/man8/reboot.8
+usr/share/man/man8/halt.8
diff --git a/debian/systemd-sysv.links b/debian/systemd-sysv.links
new file mode 100644 (file)
index 0000000..dca459f
--- /dev/null
@@ -0,0 +1,7 @@
+/bin/systemd /sbin/init
+/bin/systemctl /sbin/telinit
+/bin/systemctl /sbin/runlevel
+/bin/systemctl /sbin/shutdown
+/bin/systemctl /sbin/poweroff
+/bin/systemctl /sbin/reboot
+/bin/systemctl /sbin/halt
diff --git a/debian/systemd.install b/debian/systemd.install
new file mode 100644 (file)
index 0000000..141b3d8
--- /dev/null
@@ -0,0 +1,21 @@
+etc
+bin/systemd
+bin/systemctl
+bin/systemd-notify
+lib/systemd/
+lib/udev/rules.d/99-systemd.rules
+usr/bin/systemd-install
+usr/bin/systemadm
+usr/share/man/man1/systemd-notify.1
+usr/share/man/man1/systemd.1
+usr/share/man/man1/systemctl.1
+usr/share/man/man1/systemd-install.1
+usr/share/man/man1/systemadm.1
+usr/share/man/man3
+usr/share/man/man5
+usr/share/man/man7
+usr/share/dbus-1
+usr/share/doc
+usr/share/pkgconfig
+usr/share/man/man8/pam_systemd.8
+usr/share/systemd/session