This commit is contained in:
Ohio2 2021-08-27 13:31:22 +02:00
parent 5abbb6c523
commit ed59f36f81
2 changed files with 11 additions and 7 deletions

View file

@ -1,11 +1,13 @@
mkdir -m 775\
$1/boot \
$1/dev \
$1/mnt \
$1/run \
$1/sbin \
$1/sys \
$1/bin \
$1/usr \
$1/usr/bin \
$1/usr/lib \
$1/usr/share \
$1/usr/share/man \
$1/usr/share/man/man1 \
@ -16,7 +18,6 @@ $1/usr/share/man/man5 \
$1/usr/share/man/man6 \
$1/usr/share/man/man7 \
$1/usr/share/man/man8 \
$1/lib \
$1/var/ \
$1/var/cache \
$1/var/log \

View file

@ -1,6 +1,9 @@
wget https://github.com/ninja-build/ninja/archive/refs/tags/v1.10.2.tar.gz
tar -xf v1.10.2.tar.gz
cd ninja-1.10.2
wget https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip
mkdir ninja-linux
cd ninja-linux
unzip ../ninja-linux.zip
./configure.py --bootstrap
cp -pv ninja "$1"/usr/bin
cmake -Bbuild-cmake -H.
cmake --build build-cmake
install -v ./build-cmake/ninja /usr/bin