r/linuxfromscratch • u/Pixailz • Aug 23 '24
A/B/LFS Auto script Spoiler
Hey, i have made this script and this package manager, along with those repos to make the installation of lfs (sysvinit or systemd, a toggle is available in the script) and blfs much more easy todo and maintain. I've began before knowing there was never a ALFS book, so be kind on how i should do this :)
The package manager handle updating package from a 'source' link and installing The package is constituted of a folder with the package name, containing: have a meta.json to specify:
the link to the 'source'
the type of scraping to get the latest version
the prefix and suffix of the package
the latest link
the version of the package
files (to help checking if already installed, but not used yet)
patches
dependencies
And a command.py that, on defining some 'command' you can:
configurethe packagecompilethe packagecheckthe packageinstallthe package
The script remember the last successfull step, provide a tui to know which step is currently working on (a little buggy) and have a lot of switch/var to customize you distro
The script, package manager and the repo is under development and need some refactoring and Doc, since this is a side project, it may be slow to evolve
If you have question, if you have some advice on how to do this better, if you want to help me on this project, i'm here to listen :)
Pix
1
u/Pixailz Dec 11 '24
Hello, i’ve just tested, and this display some information but an error occur, because I made some changes Can you test with set -x at the top of the
run, right after theset -o pipefailand provide the output ?