]> xenbits.xensource.com Git - people/liuw/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)
committerWei Liu <wei.liu2@citrix.com>
Thu, 10 May 2018 17:18:09 +0000 (18:18 +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 2b356d33d9d44f84263c5f6d3a7985a15b359d8c..a337aa7d487339e29d59ecdb163aaaf626995b4e 100755 (executable)
@@ -225,6 +225,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