feat: build_pkg script
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
2ff924965e
commit
e2154bda29
1 changed files with 9 additions and 0 deletions
9
build_pkg.sh
Normal file
9
build_pkg.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue