mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 05:06:39 +00:00
support/testing: remove references to host/usr
The tools are now installed in host/bin instead of host/usr/bin. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
d0ad066e4a
commit
8367d388d4
@ -13,7 +13,7 @@ RESBLKCNT_PROP = "Reserved block count"
|
|||||||
CHECK_FS_TYPE_CMD = "mount | grep '/dev/root on / type {}'"
|
CHECK_FS_TYPE_CMD = "mount | grep '/dev/root on / type {}'"
|
||||||
|
|
||||||
def dumpe2fs_run(builddir, image):
|
def dumpe2fs_run(builddir, image):
|
||||||
cmd = ["host/usr/sbin/dumpe2fs", os.path.join("images", image)]
|
cmd = ["host/sbin/dumpe2fs", os.path.join("images", image)]
|
||||||
ret = subprocess.check_output(cmd,
|
ret = subprocess.check_output(cmd,
|
||||||
stderr=open(os.devnull, "w"),
|
stderr=open(os.devnull, "w"),
|
||||||
cwd=builddir,
|
cwd=builddir,
|
||||||
|
@ -28,7 +28,7 @@ BR2_TARGET_ROOTFS_JFFS2_PADSIZE=0x4000000
|
|||||||
|
|
||||||
def test_run(self):
|
def test_run(self):
|
||||||
img = os.path.join(self.builddir, "images", "rootfs.jffs2")
|
img = os.path.join(self.builddir, "images", "rootfs.jffs2")
|
||||||
out = subprocess.check_output(["host/usr/sbin/jffs2dump", "-c", img],
|
out = subprocess.check_output(["host/sbin/jffs2dump", "-c", img],
|
||||||
cwd=self.builddir,
|
cwd=self.builddir,
|
||||||
env={"LANG": "C"})
|
env={"LANG": "C"})
|
||||||
out = out.splitlines()
|
out = out.splitlines()
|
||||||
|
@ -13,7 +13,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def test_run(self):
|
def test_run(self):
|
||||||
unsquashfs_cmd = ["host/usr/bin/unsquashfs", "-s", "images/rootfs.squashfs"]
|
unsquashfs_cmd = ["host/bin/unsquashfs", "-s", "images/rootfs.squashfs"]
|
||||||
out = subprocess.check_output(unsquashfs_cmd,
|
out = subprocess.check_output(unsquashfs_cmd,
|
||||||
cwd=self.builddir,
|
cwd=self.builddir,
|
||||||
env={"LANG": "C"})
|
env={"LANG": "C"})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user