mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 23:04:19 +08:00
Create package metadata file
This commit is contained in:
parent
cad99ecff5
commit
a092814806
6
cook.sh
6
cook.sh
@ -195,10 +195,14 @@ function op {
|
||||
rm -rfv stage
|
||||
;;
|
||||
tar)
|
||||
mkdir -p stage/etc/pkg.d
|
||||
echo "name = \"$1\"" > "stage/etc/pkg.d/$1.toml"
|
||||
echo "version = \"$(op $1 version)\"" >> "stage/etc/pkg.d/$1.toml"
|
||||
echo "target = \"$TARGET\"" >> "stage/etc/pkg.d/$1.toml"
|
||||
$ROOT/pkgutils/target/release/pkg create stage
|
||||
;;
|
||||
untar)
|
||||
rm -rfv stage.tar
|
||||
rm -rfv stage.tar stage.sig
|
||||
;;
|
||||
publish)
|
||||
mkdir -p "$REPO"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user