commit 2303f513759fc88de34dfe958658d5298bd174c5 Author: Dmitrii Tochanskii Date: Sat Sep 27 13:38:47 2025 +0300 Initial commit diff --git a/stage0.txt b/stage0.txt new file mode 100644 index 0000000..f6c1586 --- /dev/null +++ b/stage0.txt @@ -0,0 +1,5 @@ +glibc +ncurses +readline +bash +coreutils diff --git a/tbootstrap.sh b/tbootstrap.sh new file mode 100755 index 0000000..83651e5 --- /dev/null +++ b/tbootstrap.sh @@ -0,0 +1,27 @@ +#!/bin/bash +filelist=`cat tbootstrap/stage0.txt` + +function install() +{ + for pkgname in $filelist; do + rpm -i $pkgname/RPMS/x86_64/*.rpm --root=/root/newroot + done +} + +function fetch() +{ + for pkgname in $filelist; do + mkdir $pkgname + git clone git@gitlab.tlnx.ru:rpms/$pkgname.git $pkgname + done +} + +function build() +{ + for pkgname in $filelist; do + tlnxbuild/tlnxbuild.sh $pkgname + done +} + +fetch +build