2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-07 03:55:13 +00:00

Invoke mkinitrd after zypper runs

This commit is contained in:
Jarrod Johnson 2021-11-22 10:46:23 -05:00
parent e1c15cca8e
commit 2e10289807

View File

@ -509,6 +509,8 @@ class SuseHandler(OsHandler):
subprocess.check_call(cmd)
subprocess.check_call(['zypper', '-R', self.targpath, 'install'] + self.zyppargs)
os.symlink('/usr/lib/systemd/system/sshd.service', os.path.join(self.targpath, 'etc/systemd/system/multi-user.target.wants/sshd.service'))
args.cmd = ['mkinitrd']
run_constrainedx(fancy_chroot, (args, self.targpath))
class DebHandler(OsHandler):