diff options
author | Tony Theodore <tonyt@logyst.com> | 2018-12-25 01:10:01 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2019-02-26 08:03:08 (GMT) |
commit | 5adf21eed577d085763a9dbac2198698795ffcec (patch) | |
tree | b4b6168cff3a4e190633af79aa620b5d5ceb22d2 | |
parent | 3ea682b14ed5240b7d5f3bb65237f8e6a8005062 (diff) | |
download | mxe-5adf21eed577d085763a9dbac2198698795ffcec.zip mxe-5adf21eed577d085763a9dbac2198698795ffcec.tar.gz mxe-5adf21eed577d085763a9dbac2198698795ffcec.tar.bz2 |
notes on codename
-rwxr-xr-x | tools/build-pkg.lua | 11 |
1 files 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 `<codename>/*.tar.xz` files. +Debian packages are written to `<codename>/*.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 |