termux-packages/scripts/build
Henrik Grimler bd6bc93daf termux_step_start_build: strip prefixed ./ if found
All, or at least most, of our debs contain "./" as a folder. This
causes problems when extracting on some systems, as ./ then is the
system root directory /, and tar cannot change the permissions of this
folder.  Trying to build on arch for example gives:

    tar: .: Cannot change mode to rwxr-xr-x: Operation not permitted
    tar: Exiting with failure status due to previous errors

The issue appeared on arch somewhat recently, maybe with tar 1.33. To
avoid having to rebuild all packages we now handle both data.tar.xz
types, with prefixed ./, and without.

Also remove some indentation levels while we are at it.
2021-08-17 15:22:18 +02:00
..
configure build-package.sh: define CMAKE_STRIP when configuring cmake build 2021-04-18 17:20:02 +03:00
get_source build-package.sh: fix TERMUX_PKG_SRCURL unbound variable 2020-07-22 20:08:46 +03:00
setup golang: update to 1.16.7 (#7308) 2021-08-15 00:59:49 +03:00
termux_create_subpackages.sh build-package: add new function termux_step_create_subpkg_debscripts (#4963) 2020-02-23 21:30:44 +01: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 build-package.sh: support offline preinstalled build tools 2020-10-22 22:46:02 +03: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.sh: retry download if packages list checksum is bad 2021-07-23 17:42:03 +03:00
termux_step_create_datatar.sh termux_step_create_datatar.sh: add data/ to tar instead of ./ 2021-08-17 15:22:18 +02:00
termux_step_create_debfile.sh enforce gnu format for deb tar archives 2020-02-11 15:17:40 +01:00
termux_step_extract_into_massagedir.sh
termux_step_finish_build.sh enable on-device builds 2019-08-08 16:58:34 +03: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 termux_step_handle_hostbuild: be more verbose when patching 2021-05-16 18:07:26 +02:00
termux_step_host_build.sh
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
termux_step_massage.sh build-package.sh: run termux-elf-cleaner for ./opt 2021-07-29 22:38:21 +03:00
termux_step_patch_package.sh termux_step_patch_package.sh: handle new variables 2020-10-30 22:28:44 +02:00
termux_step_replace_guess_scripts.sh build-package.sh: better support for metapackages 2019-08-14 20:29:58 +03:00
termux_step_setup_toolchain.sh nushell: try again to fix i686 build by exporting RUSTFLAGS earlier and adding a flag 2021-07-15 23:34:56 +05:30
termux_step_setup_variables.sh build-package.sh: use packages.termux.org when running with -I/-i options 2021-06-03 14:59:39 +03:00
termux_step_start_build.sh termux_step_start_build: strip prefixed ./ if found 2021-08-17 15:22:18 +02:00