termux-packages/scripts/build
Henrik Grimler 1c272f516b build-package: use xz compression for control archives (again)
All packages that have conffiles, and a gz compressed control.tar.gz,
currently fails to install on arm if the deb is built locally or
downloaded and then installed with `apt install
./foo_1.0_arm.deb`. The error looks like:

    $ apt install ./tmp/foo.deb
    Reading package lists... Error!
    E: Tar checksum failed, archive corrupted
    E: Could not read meta data from
/data/data/com.termux/files/home/tmp/foo.deb
    E: The package lists or status file could not be parsed or opened.

If the package does not have conffiles, or if xz compression is used,
everything works. Let's change back to xz compression for all new and
updated packages for now to workaround this issue.

Even if `apt install ./foo.deb` fails the deb can still be installed
with `dpkg -i ./foo.deb` (seems dpkg does not do the same checksum
check?).
2021-09-05 21:35:12 +02:00
..
configure step_configure_cmake: mv cmake and ninja setup functions to step_configure 2021-08-24 21:40:46 +02:00
get_source build-package.sh: fix TERMUX_PKG_SRCURL unbound variable 2020-07-22 20:08:46 +03:00
setup new package: gn (#7290) 2021-09-03 20:46:03 +03:00
termux_create_subpackages.sh build-package: use xz compression for control archives (again) 2021-09-05 21:35:12 +02:00
termux_download_deb.sh termux_download_deb: add workaround for download of arch all pkgs 2021-05-14 11:58:09 +02:00
termux_download.sh termux_download: don't warn if SKIP_CHECKSUM is passed 2021-08-17 15:22:46 +02:00
termux_error_exit.sh build-package.sh: fix printing of error message when trying to run script on Android device 2019-03-26 01:27:09 +02:00
termux_extract_dep_info.sh termux_extract_dep_info: fix logic for subpackages (#6753) 2021-05-05 21:20:39 +02:00
termux_get_repo_files.sh build-package: delete old $PREFIX ealier in build 2021-09-03 17:56:57 +02:00
termux_step_create_datatar.sh Revert "termux_step_create_datatar.sh: add data/ to tar instead of ./" 2021-08-24 13:30:52 +02:00
termux_step_create_debfile.sh build-package: use xz compression for control archives (again) 2021-09-05 21:35:12 +02:00
termux_step_create_timestamp_file.sh build-package: create timestamp file after get_dependencies 2021-08-21 22:37:51 +02:00
termux_step_extract_into_massagedir.sh termux_step_extract_into_massagedir.sh: don't add tmp/ files to packages, particularly on-device 2020-02-07 00:22:50 +05:30
termux_step_finish_build.sh enable on-device builds 2019-08-08 16:58:34 +03:00
termux_step_get_dependencies.sh build-package: mv code for getting deps out of step_start_build 2021-08-21 20:59:24 +02:00
termux_step_handle_buildarch.sh build-package.sh: more fixes for variable checking 2019-08-13 18:44:10 +03:00
termux_step_handle_hostbuild.sh build-package: error if hostbuilt tools are missing 2021-08-24 21:40:46 +02:00
termux_step_host_build.sh build-package: mv termux_step_host_build to scripts/build/ 2019-02-27 21:59:08 +02:00
termux_step_install_license.sh licenses: Simplified BSD->BSD Simplified 2021-08-02 11:38:35 +02:00
termux_step_install_service_scripts.sh termux-services: add down and log/down to CONFFILES 2020-03-20 20:44:51 +01:00
termux_step_make_install.sh cargo: install with --locked 2021-03-10 14:09:26 +01:00
termux_step_make.sh build-package.sh: better support for metapackages 2019-08-14 20:29:58 +03:00
termux_step_massage.sh build-package: rename TERMUX_DEBUG to TERMUX_DEBUG_BUILD 2021-08-21 20:55:57 +02:00
termux_step_patch_package.sh termux_step_patch_package: apply patches in alphabetical order 2021-09-02 21:13:58 +05:30
termux_step_replace_guess_scripts.sh build-package.sh: better support for metapackages 2019-08-14 20:29:58 +03:00
termux_step_setup_build_folders.sh build-package: delete old $PREFIX ealier in build 2021-09-03 17:56:57 +02:00
termux_step_setup_toolchain.sh toolchain: add -fPIC to CPPFLAGS for i686 2021-08-27 10:02:20 +02:00
termux_step_setup_variables.sh build-package: add new arg -c for "continue build" 2021-08-24 21:40:46 +02:00
termux_step_start_build.sh toolchain: add -fPIC to CPPFLAGS for i686 2021-08-27 10:02:20 +02:00