Initial commit
This commit is contained in:
commit
2303f51375
2 changed files with 32 additions and 0 deletions
5
stage0.txt
Normal file
5
stage0.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
glibc
|
||||||
|
ncurses
|
||||||
|
readline
|
||||||
|
bash
|
||||||
|
coreutils
|
||||||
27
tbootstrap.sh
Executable file
27
tbootstrap.sh
Executable file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue