Bugzilla – Attachment 435111 Details for
Bug 700603
kiwi: doesn't support systemd /sbin/init symlink
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
don't check /sbin/init permission if it is a symlink
0001-allow-sbin-init-to-be-a-absolute-symlink-needed-for-.patch (text/plain), 819 bytes, created by
Frederic Crozat
on 2011-06-17 13:31:03 UTC
(
hide
)
Description:
don't check /sbin/init permission if it is a symlink
Filename:
MIME Type:
Creator:
Frederic Crozat
Created:
2011-06-17 13:31:03 UTC
Size:
819 bytes
patch
obsolete
>From 5f36851e9ae5cdd9070acdb6875bff69d46b0e40 Mon Sep 17 00:00:00 2001 >From: Frederic Crozat <fcrozat@suse.com> >Date: Fri, 17 Jun 2011 15:06:48 +0200 >Subject: [PATCH] allow /sbin/init to be a absolute symlink (needed for systemd) > >--- > modules/KIWILinuxRC.sh | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/modules/KIWILinuxRC.sh b/modules/KIWILinuxRC.sh >index 66c50ad..8b19f4a 100644 >--- a/modules/KIWILinuxRC.sh >+++ b/modules/KIWILinuxRC.sh >@@ -5031,7 +5031,7 @@ function validateRootTree { > # check whether that mount is a valid system tree or not. Therefore > # some sanity checks are made here > # ---- >- if [ ! -x /mnt/sbin/init ];then >+ if [ ! -x /mnt/sbin/init -a ! -L /mnt/sbin/init ];then > systemException "/sbin/init no such file or not executable" "reboot" > fi > } >-- >1.7.3.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 700603
: 435111