moved everything to different stages
This commit is contained in:
13
stage/chroot/xz.bash
Normal file
13
stage/chroot/xz.bash
Normal file
@@ -0,0 +1,13 @@
|
||||
sudo chroot "$SYSROOT" /usr/bin/env -i MAKEFLAGS="$MAKEFLAGS" PATH=/usr/bin:/usr/sbin SOURCES=/sources XZ_VERSION=$XZ_VERSION /usr/bin/bash <<- "EOF"
|
||||
set -euo pipefail
|
||||
|
||||
cd "$SOURCES" && tar xf xz-$XZ_VERSION.tar.xz && cd xz-$XZ_VERSION
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-static
|
||||
|
||||
make && make install
|
||||
|
||||
cd "$SOURCES" && rm -rf xz-$XZ_VERSION
|
||||
EOF
|
||||
Reference in New Issue
Block a user