From d1f7f3c7ffc96de85cc4a71e96e562d7fba229ef Mon Sep 17 00:00:00 2001 From: Raine Date: Sat, 14 Oct 2023 22:39:49 +0200 Subject: [PATCH] feat: build_pkg script --- build_pkg.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 build_pkg.sh diff --git a/build_pkg.sh b/build_pkg.sh new file mode 100644 index 0000000..2830ede --- /dev/null +++ b/build_pkg.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +mkdir -p dist/root/usr/bin/ dist/root/etc/pkgr +echo "\x00" > dist/root/etc/pkgr/YOU.CAN.NOT.UPDATE.PKGR.WITH.PKGR +cd pkgr +cargo build -r +cp target/release/pkgr ../dist/root/usr/bin/pkgr +cd ../dist +python ../pkg.py ../package.toml pkgr root \ No newline at end of file