diff options
author | Colin Guthrie <colin@mageia.org> | 2013-12-02 22:28:45 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-12-07 18:32:06 +0000 |
commit | 8faa57a8737a0e1a163fbd91d86065784ea5d44d (patch) | |
tree | 75320c971a1a3e393838a8db20781327073d6b48 /rescue/make_rescue_img | |
parent | c4634f60b5c6d67eedfedc02166499884e4d6625 (diff) | |
download | drakx-8faa57a8737a0e1a163fbd91d86065784ea5d44d.tar drakx-8faa57a8737a0e1a163fbd91d86065784ea5d44d.tar.gz drakx-8faa57a8737a0e1a163fbd91d86065784ea5d44d.tar.bz2 drakx-8faa57a8737a0e1a163fbd91d86065784ea5d44d.tar.xz drakx-8faa57a8737a0e1a163fbd91d86065784ea5d44d.zip |
rescue: add machined (and dbus as a dep) to the rescue.
This allows us to actually mount and run the system inside a container for
more advanced debugging.
I've successfully booted my systemd, logged in, had a fiddle and then
powered it off again. There are some delays and it's requried to umount
the /mnt/proc which seems to get automatically mounted before running
nspawn. Also audit support has to be turned off in the kernel too to
allow a full boot to work properly (otherwise the authentication in
the container doesn't work. This is a known problem in the kernel and
will be fixed eventually.
Diffstat (limited to 'rescue/make_rescue_img')
-rwxr-xr-x | rescue/make_rescue_img | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index 50083d0b0..4b4301c55 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -34,6 +34,7 @@ _ "../tools/install-xml-file-list list.xml $tmp"; _ "sed 's/Mageia \\([0-9]*\\)/Mageia Rescue \\1/' /etc/os-release >$tmp/etc/os-release"; _ "ls -1 $tmp/etc | sed 's,\\(.*\\),/etc/\\1,' >>$tmp/usr/share/symlinks"; +_ "mkdir -p $tmp/usr/lib/systemd/system/rescue.target.wants"; my %keytable_conflicts; my @less_important_keytables = qw(am_old am_phonetic no-dvorak de-latin1); |