[OE-core] [PATCH 2/4] rootfs: Do not uninstall update-rc.d
Khem Raj
raj.khem at gmail.com
Mon Sep 7 21:15:56 UTC 2015
> On Sep 7, 2015, at 12:36 PM, Phil Blundell <pb at pbcl.net> wrote:
>
> On Sun, 2015-09-06 at 15:25 +0000, Khem Raj wrote:
>> update-rc.d is now needed by systemd to interact with sysv
>> scripts, so if we have a mixed system, then we can not uninstall
>> update-rc.d as it is going to break systemd functionality
>
> The description above implies that you will only uninstall update-rc.d
> if systemd is present, but that doesn't seem to be what the patch does.
I meant to not say its only for systemd. but that systemd now needs it.
so update-rc.d is no longer forcefully removed from image depchain.
>
> Also, if the rootfs is read-only then you might as well go ahead and
> uninstall it irrespective of systemd because it isn't going to work. If
> systemd will fail catastrophically in this situation then I guess it
> should be an error to have both systemd and sysv scripts in a read-only
> filesystem.
That is valid problem, but its not changing that behavior. Code needs to be
added to check for ro-rootfs check and then uninstall it. In ro-rootfs case this
disable/enable of script might still be needed and useful since there might overlayfs in use
>
> p.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150907/098551e7/attachment-0002.sig>
More information about the Openembedded-core
mailing list