Small changes
This commit is contained in:
+10
-4
@@ -1,9 +1,15 @@
|
||||
if [ "$EUID" = 0 ]
|
||||
then echo "Please don't run this as root"
|
||||
exit
|
||||
fi
|
||||
|
||||
git clone https://github.com/kobolabs/liblzma src
|
||||
cd src
|
||||
git pull
|
||||
./configure
|
||||
./configure --prefix /usr
|
||||
make -j$(nproc)
|
||||
cd -
|
||||
|
||||
sudo cp src/src/liblzma/.libs/liblzma.so ../rootfs/usr/lib
|
||||
sudo cp src/src/liblzma/.libs/liblzma.so.5 ../rootfs/usr/lib
|
||||
DESTDIR=$(pwd)/../../rootfs
|
||||
sudo make install DESTDIR=$(realpath $DESTDIR)
|
||||
|
||||
cd -
|
||||
Reference in New Issue
Block a user