diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/systemd.bbclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/classes/systemd.bbclass b/meta/classes/systemd.bbclass index d1cb17dc8d..747055b8fa 100644 --- a/meta/classes/systemd.bbclass +++ b/meta/classes/systemd.bbclass | |||
@@ -214,7 +214,6 @@ python rm_systemd_unitdir (){ | |||
214 | if (os.path.exists(systemd_libdir) and not os.listdir(systemd_libdir)): | 214 | if (os.path.exists(systemd_libdir) and not os.listdir(systemd_libdir)): |
215 | os.rmdir(systemd_libdir) | 215 | os.rmdir(systemd_libdir) |
216 | } | 216 | } |
217 | do_install[postfuncs] += "rm_systemd_unitdir " | ||
218 | 217 | ||
219 | python rm_sysvinit_initddir (){ | 218 | python rm_sysvinit_initddir (){ |
220 | import shutil | 219 | import shutil |
@@ -229,4 +228,8 @@ python rm_sysvinit_initddir (){ | |||
229 | if (os.path.exists(systemd_system_unitdir) and os.listdir(systemd_system_unitdir)): | 228 | if (os.path.exists(systemd_system_unitdir) and os.listdir(systemd_system_unitdir)): |
230 | shutil.rmtree(sysv_initddir) | 229 | shutil.rmtree(sysv_initddir) |
231 | } | 230 | } |
232 | do_install[postfuncs] += "rm_sysvinit_initddir " | 231 | |
232 | do_install[postfuncs] += "${RMINITDIR} " | ||
233 | RMINITDIR_class-target = " rm_sysvinit_initddir rm_systemd_unitdir " | ||
234 | RMINITDIR = "" | ||
235 | |||