]> xenbits.xensource.com Git - osstest.git/commitdiff
ts-xen-build-prep: install e2fslibs-dev
authorWei Liu <wei.liu2@citrix.com>
Wed, 18 Oct 2017 14:40:01 +0000 (15:40 +0100)
committerIan Jackson <ian.jackson@eu.citrix.com>
Wed, 10 Apr 2019 14:05:56 +0000 (15:05 +0100)
The in-tree libfsimage ext2fs implementation can't handle 64bit
enabled ext4, which is the default in stretch.

Installing e2fslibs-dev causes libfsimage to pick up the packaged
ext2fs implementation.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
ts-xen-build-prep

index ca5735a16e2121e7267b0f39c1d9be17852c0d23..c38ab36d9c89367c9b0d2872b29ec4b555129abb 100755 (executable)
@@ -226,6 +226,12 @@ sub prep () {
         push(@packages, qw(texinfo autopoint libpciaccess-dev));
     }
 
+    # The in-tree ext4 support in libfsimage can't cope with 64bit ext4 on
+    # 32bit build. Use the packaged library.
+    if ($ho->{Suite} !~ m/squeeze|wheezy|jessie/) {
+        push(@packages, qw(e2fslibs-dev));
+    }
+
     target_install_packages($ho, @packages);
     target_cmd_root($ho, "chmod -R a+r /usr/share/git-core/templates");
     # workaround for Debian #595728