From 2303f513759fc88de34dfe958658d5298bd174c5 Mon Sep 17 00:00:00 2001 From: Dmitrii Tochanskii Date: Sat, 27 Sep 2025 13:38:47 +0300 Subject: [PATCH] Initial commit --- stage0.txt | 5 +++++ tbootstrap.sh | 27 +++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 stage0.txt create mode 100755 tbootstrap.sh 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