From 5adf21eed577d085763a9dbac2198698795ffcec Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Tue, 25 Dec 2018 12:10:01 +1100 Subject: notes on codename --- tools/build-pkg.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua index 3588c43..3382868 100755 --- a/tools/build-pkg.lua +++ b/tools/build-pkg.lua @@ -7,11 +7,11 @@ build-pkg, Build binary packages from MXE packages Instructions: http://pkg.mxe.cc Requirements (see bootstrapped build below for non-debian systems): - MXE + MXE (https://mxe.cc/#requirements-debian) apt-get install lua5.1 fakeroot dpkg dpkg-dev Usage: lua tools/build-pkg.lua -Packages are written to `*.tar.xz` files. -Debian packages are written to `*.deb` files. +Packages are written to `/*.tar.xz` files. +Debian packages are written to `/*.deb` files. Build in directory /usr/lib/mxe This directory can not be changed in .deb packages. @@ -24,6 +24,11 @@ To do a dry run without actually building any packages, set environment variable MXE_BUILD_DRY_RUN to any value Packages will be downloaded, but builds will be skipped. +To override the codename detection of `lsb_release -sc`, set +MXE_BUILD_PKG_CODENAME. This sets the output directory and name +mangling for the pool directory in the apt repo. Could be used to +create lowest-common-glibc based versions. + To switch off the second pass, set MXE_BUILD_PKG_NO_SECOND_PASS to 1. See https://github.com/mxe/mxe/issues/1111 -- cgit v0.12