2023-06-29 23:12:57 +02:00
|
|
|
# Clone Upstream
|
|
|
|
mkdir -p pika-drivers
|
|
|
|
cp -rvf ./* ./pika-drivers/
|
2023-06-29 23:20:39 +02:00
|
|
|
cd ./pika-drivers/
|
2023-06-29 23:12:57 +02:00
|
|
|
|
2024-07-23 21:52:36 +02:00
|
|
|
# Dead PikaOS3 Release Quirk?
|
|
|
|
apt-get install libglib2.0-0=2.78.0-2 libglib2.0-bin=2.78.0-2 libglib2.0-dev-bin=2.78.0-2 -y --allow-downgrades
|
|
|
|
|
2023-06-29 23:12:57 +02:00
|
|
|
# Get build deps
|
|
|
|
apt-get build-dep ./ -y
|
2024-02-23 20:18:07 +01:00
|
|
|
apt-get install curl -y
|
|
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | CARGO_HOME=/root/.cargo sh -s -- -y
|
2023-06-29 23:12:57 +02:00
|
|
|
|
|
|
|
# Build package
|
|
|
|
dpkg-buildpackage --no-sign
|
|
|
|
|
|
|
|
# Move the debs to output
|
|
|
|
cd ../
|
|
|
|
mkdir -p ./output
|
2024-07-23 21:52:36 +02:00
|
|
|
mv ./*.deb ./output/
|