logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>

pass2.sh (569B)


  1. # SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
  2. # SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
  3. # SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
  4. #
  5. # SPDX-License-Identifier: GPL-3.0-or-later
  6. src_prepare() {
  7. default
  8. cp lib/fnmatch_.h lib/fnmatch.h
  9. cp lib/ftw_.h lib/ftw.h
  10. cp lib/search_.h lib/search.h
  11. touch config.h
  12. # Rebuild pregenerated file
  13. rm -f src/false.c
  14. rm -f src/dircolors.h
  15. # Bison pre-generated file
  16. rm lib/getdate.c
  17. cp "${mk_dir}/pass2.mk" Makefile
  18. }