Small changes

This commit is contained in:
Marc
2021-12-03 09:36:49 +01:00
parent 0c039501db
commit ba94e1aba0
19 changed files with 259 additions and 27 deletions
+10 -4
View File
@@ -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 -