From b04e65f58a20b69ac1b0a76e9a128d74a052e779 Mon Sep 17 00:00:00 2001 From: Wataru Ishida Date: Fri, 30 Aug 2019 11:16:52 -0700 Subject: [PATCH] onlrfs: fix wrong commands used in '--install' command Signed-off-by: Wataru Ishida --- tools/onlrfs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/onlrfs.py b/tools/onlrfs.py index 922583ad..fc60b8f6 100755 --- a/tools/onlrfs.py +++ b/tools/onlrfs.py @@ -698,14 +698,14 @@ rm -f /usr/sbin/policy-rc.d src2 = os.path.join("/tmp", b) logger.info("installing %s into %s", pkg, dir_) - cmd = ('/usr/bin/rfs-dpkg', '-i', src2,) + cmd = ('/usr/bin/dpkg', '-i', src2,) onlu.execute(cmd, chroot=dir_, ex=OnlRfsError("install of %s failed" % pkg)) name, _, _ = pkg.partition(':') logger.info("updating dependencies for %s", pkg) - cmd = ('/usr/bin/rfs-apt-get', '-f', 'install', name,) + cmd = ('/usr/bin/apt-get', '-f', 'install', name,) onlu.execute(cmd, chroot=dir_, ex=OnlRfsError("install of %s failed" % pkg))