From e2154bda29589c23305eedb299babe2e1463ca79 Mon Sep 17 00:00:00 2001 From: Didier Date: Tue, 8 Aug 2023 01:19:52 +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