WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Build scripts repository  (Read 108 times)

Offline formaggio

  • Newbie
  • *
  • Posts: 2
Build scripts repository
« on: July 15, 2025, 05:44:40 AM »
I'm curious: is there a repository of scripts for producing a working ISO image from scratch? How does it work when you (the administrators/maintainers) prepare an ISO for a new release? I doubt the process is manual but I can't find the build scripts.

I would like to be able to build an ISO image myself and tweak the files in core.gz, specifically my goal is to update busybox and sudo to the latest versions using the official build flags.

If there isn't a repository, that's fine, but it would be great if you can point me to the place where I can find the build flags.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 766
Re: Build scripts repository
« Reply #1 on: July 15, 2025, 06:44:12 AM »

Offline formaggio

  • Newbie
  • *
  • Posts: 2
Re: Build scripts repository
« Reply #2 on: July 15, 2025, 07:14:09 AM »
@patrikg

Thank you for your reply. I'm well aware of remastering but I would like to know the official build flags so that I can produce executables that are as if prepared and distributed by the maintainers. I found https://wiki.tinycorelinux.net/doku.php?id=wiki:creating_extensions to be quite useful. For sudo, I could find the configure flags of sudo by running "sudo sudo -V". For busybox, I found the script at http://repo.tinycorelinux.net/15.x/x86_64/release/src/busybox/. These should answer my questions.

Anyway, it'd be nice if the scripts for producing ISO images are shared.

Thank you.

Offline linic

  • Newbie
  • *
  • Posts: 35
Re: Build scripts repository
« Reply #3 on: July 15, 2025, 05:28:00 PM »
I doubt the process is manual but I can't find the build scripts.
Maybe amazingly so, the process is manual. At least, that's what I understood from my research. I list some relevant forum posts here https://github.com/linic/tcc?tab=readme-ov-file#this-is-not-building-or-compiling-from-scratch
I did make some scripts of my own in that github repo so I could rebuild parts of core.gz (got x86 only) without manually typing the commands. Those scripts were built using the "compile" files such as the one you mentioned I believe this one http://repo.tinycorelinux.net/15.x/x86_64/release/src/busybox/compile_busybox. Those "compile" files are actually notes from the person who did the compilation manually. Feel free to correct me everyone.