jjb: set python install layout to deb
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 13 Jun 2023 18:50:57 +0000 (14:50 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Tue, 13 Jun 2023 20:18:30 +0000 (16:18 -0400)
The default install layout for user built python modules has changed in
Debian 12 to add a 'local' dir to the prefix. Force the traditionnal
system layout by exporting 'DEB_PYTHON_INSTALL_LAYOUT=deb'.

Change-Id: I0d684be831a8deaf49dc486d6850dba3c8267be2
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/babeltrace/build.sh
scripts/lttng-tools/build.sh
scripts/lttng-ust/build.sh

index ae13afa55a96bf7b4afaf78b55d1419eefaaa9da..0c3e6e77dcfd0962cda780d360eb771d1434403f 100755 (executable)
@@ -121,6 +121,9 @@ PREFIX="/build"
 LIBDIR="lib"
 LIBDIR_ARCH="$LIBDIR"
 
+# Force the normal Python install layout without 'local' on Debian / Ubuntu
+export DEB_PYTHON_INSTALL_LAYOUT="deb"
+
 # RHEL and SLES both use lib64 but don't bother shipping a default autoconf
 # site config that matches this.
 if [[ ( -f /etc/redhat-release || -f /etc/products.d/SLES.prod || -f /etc/yocto-release ) ]]; then
index 243e647090cc5c992687723ea0ea5778d1a137ca..b70a46a9e022ea71ede11e35653796acb1ddad60 100755 (executable)
@@ -136,6 +136,9 @@ PREFIX="/build"
 LIBDIR="lib"
 LIBDIR_ARCH="$LIBDIR"
 
+# Force the normal Python install layout without 'local' on Debian / Ubuntu
+export DEB_PYTHON_INSTALL_LAYOUT="deb"
+
 # RHEL and SLES both use lib64 but don't bother shipping a default autoconf
 # site config that matches this.
 if [[ ( -f /etc/redhat-release || -f /etc/products.d/SLES.prod || -f /etc/yocto-release ) ]]; then
index 625b285fe7545a7374013838df080c794b5ba796..e39f29099e42082fef1ad1286a7502684c1de124 100755 (executable)
@@ -114,6 +114,9 @@ PREFIX="/build"
 LIBDIR="lib"
 LIBDIR_ARCH="$LIBDIR"
 
+# Force the normal Python install layout without 'local' on Debian / Ubuntu
+export DEB_PYTHON_INSTALL_LAYOUT="deb"
+
 # RHEL and SLES both use lib64 but don't bother shipping a default autoconf
 # site config that matches this.
 if [[ ( -f /etc/redhat-release || -f /etc/products.d/SLES.prod || -f /etc/yocto-release ) ]]; then
This page took 0.025332 seconds and 4 git commands to generate.