make initramfs dep8 test work both on debian/ubuntu

Bug #2055462 reported by Mitchell Dzurick
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
multipath-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

During the noble merge cycle, 2 deltas were made so the initramfs test works on both debian/ubuntu:

diff --git a/debian/tests/control b/debian/tests/control
index 42eab9e..81901cb 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -19,6 +19,6 @@ Architecture: amd64 arm64
 Depends:
  multipath-tools,
  multipath-tools-boot,
- linux-image-amd64 | linux-image-arm64,
+ linux-image-generic,
  initramfs-tools,
 Restrictions: needs-root, allow-stderr
diff --git a/debian/tests/initramfs b/debian/tests/initramfs
index 8c284ce..6e107c3 100755
--- a/debian/tests/initramfs
+++ b/debian/tests/initramfs
@@ -29,4 +29,4 @@ find_file '*-del-part-nodes.rules'
 find_file '*-kpartx.rules'

 echo "check multipath binary is executable"
-chroot initramfs /usr/sbin/multipath -h
+chroot initramfs/main /usr/sbin/multipath -h

It'd be nice to get the test working both on debian/ubuntu so we can drop the delta going forward.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.