summaryrefslogtreecommitdiffstats
path: root/rescue/list.xml
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-12-01 22:29:20 +0000
committerColin Guthrie <colin@mageia.org>2013-12-07 18:32:06 +0000
commitc4634f60b5c6d67eedfedc02166499884e4d6625 (patch)
tree844fb25572edbf617eaeccc7633d0031e7df1ec6 /rescue/list.xml
parent645e6932216fddd154865a9bebb0fd0e3beed301 (diff)
downloaddrakx-c4634f60b5c6d67eedfedc02166499884e4d6625.tar
drakx-c4634f60b5c6d67eedfedc02166499884e4d6625.tar.gz
drakx-c4634f60b5c6d67eedfedc02166499884e4d6625.tar.bz2
drakx-c4634f60b5c6d67eedfedc02166499884e4d6625.tar.xz
drakx-c4634f60b5c6d67eedfedc02166499884e4d6625.zip
rescue: Use systemd as initsystem.
This commit converts the rescue system to systemd rather than the legacy sysvinit. Besides being faster, one primary advantage of running systemd here is that we can "boot" the system we're inspecting via systemd-nspawn to properly test it. Note: Bits that don't work: * nspawn * old dracut initqueue udev rules in /etc/ are not cleaned out (drop in support error?) * the gui may loop differently now
Diffstat (limited to 'rescue/list.xml')
-rw-r--r--rescue/list.xml92
1 files changed, 85 insertions, 7 deletions
diff --git a/rescue/list.xml b/rescue/list.xml
index fb73f4df4..fd5a829a2 100644
--- a/rescue/list.xml
+++ b/rescue/list.xml
@@ -150,12 +150,6 @@
</if>
</from>
-<from dir="/usr/LIB/drakx-installer-sysvinit/" expand="glob">
- <to dir="/sbin">
- init
- </to>
-</from>
-
<from>
/usr/lib/kbd/keymaps/include
<if ARCH="i.86|x86_64">
@@ -272,10 +266,94 @@
</from>
<from dir="/usr/lib/systemd">
+ systemd
+ systemd-cgroups-agent
+ systemd-shutdown
+ systemd-reply-password
+ systemd-fsck
systemd-udevd
+ systemd-journald
+ systemd-sysctl
+ systemd-modules-load
+ systemd-vconsole-setup
+ system-generators/systemd-fstab-generator
+</from>
+
+<from dir="/usr/lib/systemd/system">
+ cryptsetup.target
+ emergency.target
+ sysinit.target
+ basic.target
+ halt.target
+ kexec.target
+ local-fs.target
+ local-fs-pre.target
+ remote-fs.target
+ remote-fs-pre.target
+ network.target
+ nss-lookup.target
+ nss-user-lookup.target
+ poweroff.target
+ reboot.target
+ rescue.target
+ rpcbind.target
+ shutdown.target
+ final.target
+ sigpwr.target
+ sockets.target
+ swap.target
+ timers.target
+ paths.target
+ umount.target
+ kmod-static-nodes.service
+ systemd-tmpfiles-setup-dev.service
+ systemd-ask-password-console.path
+ systemd-udevd-control.socket
+ systemd-udevd-kernel.socket
+ systemd-ask-password-plymouth.path
+ systemd-journald.socket
+ systemd-ask-password-console.service
+ systemd-modules-load.service
+ systemd-halt.service
+ systemd-poweroff.service
+ systemd-reboot.service
+ systemd-kexec.service
+ systemd-fsck@.service
+ systemd-udevd.service
+ systemd-udev-trigger.service
+ systemd-udev-settle.service
+ systemd-ask-password-plymouth.service
+ systemd-journald.service
+ systemd-vconsole-setup.service
+
+ sysinit.target.wants/systemd-modules-load.service
+ sysinit.target.wants/systemd-ask-password-console.path
+ sysinit.target.wants/systemd-journald.service
+ sockets.target.wants/systemd-udevd-control.socket
+ sockets.target.wants/systemd-udevd-kernel.socket
+ sockets.target.wants/systemd-journald.socket
+ sysinit.target.wants/systemd-udevd.service
+ sysinit.target.wants/systemd-udev-trigger.service
+ sysinit.target.wants/kmod-static-nodes.service
+ sysinit.target.wants/systemd-tmpfiles-setup-dev.service
+
+ ctrl-alt-del.target
+ syslog.socket
+
+ slices.target
+ system.slice
+</from>
+
+<from expand="binary">
+ journalctl systemctl echo swapoff systemd-cgls systemd-tmpfiles systemd-nspawn
+</from>
+
+<from dir="/usr/lib/udev">
+ ata_id
+ scsi_id
</from>
-<from dir="/lib/udev/rules.d">
+<from dir="/usr/lib/udev/rules.d">
10-dm.rules
11-dm-lvm.rules
13-dm-disk.rules