feat: build_pkg script
This commit is contained in:
parent
d6cfab4eb7
commit
d1f7f3c7ff
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