summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/bootloader.pm6
-rw-r--r--perl-install/install/NEWS1
2 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 41b77b5b3..f8cdc6ba3 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -720,6 +720,12 @@ sub add_kernel {
$v->{append} = pack_append($simple, $dict);
}
+ if (-e "$::prefix/bin/systemd") {
+ log::l("defaulting to systemd");
+ #@$dict = grep { $_->[0] ne 'devfs' } @$dict;
+ $v->{append} .= " init=/bin/systemd";
+ }
+
#- new versions of yaboot do not handle symlinks
$b_nolink ||= arch() =~ /ppc/;
$b_no_initrd //= (arch() =~ /mips|arm/) && !detect_devices::is_mips_gdium();
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 7cdba6554..ffd8bd780 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -3,6 +3,7 @@
- always favor packages with 'mga' extension when upgrading anything else
than Mageia
- install perl-Hal-Cdroms for urpmi when needed
+- default to systemd (through "init=/bin/systemd")
Version 13.64 - 08 September 2011