Compare commits
2 commits
608578a708
...
61b81f7fc2
Author | SHA1 | Date | |
---|---|---|---|
61b81f7fc2 | |||
|
ed59f36f81 |
2 changed files with 11 additions and 7 deletions
|
@ -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 \
|
||||
|
|
13
ninja/build
13
ninja/build
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue