summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-06 01:25:54 +0000
committerdavidovski <david@davidovski.xyz>2022-02-06 01:25:54 +0000
commitfcca2cd092d4830300ec6eeb52955feb30a6fd20 (patch)
tree5d4ba659b104abf295ca1951b27c70adf2b13816
parent2c82b81fcd8fc723712ac605041da5142f765730 (diff)
removed undefined references to info in build package
-rwxr-xr-xbuild.sh4
-rwxr-xr-xxib_env1
-rwxr-xr-xxibuild/build_package.sh7
3 files changed, 5 insertions, 7 deletions
diff --git a/build.sh b/build.sh
index 3f424b9..97661e4 100755
--- a/build.sh
+++ b/build.sh
@@ -6,4 +6,8 @@ cd xibuild
./build_all.sh || exit 1
./make_infos.sh
+keychain="$XIB_EXPORT"/keychain
+mkdir -p $keychain
+cp $PUB_KEY $keychain/
+
diff --git a/xib_env b/xib_env
index c74a6fb..50b6140 100755
--- a/xib_env
+++ b/xib_env
@@ -8,6 +8,7 @@ export XIB_CHROOT="$XIB_DIR/chroot"
export XIB_EXPORT="$XIB_DIR/export"
export PRIV_KEY="/home/david/.ssh/xi.pem"
+export PUB_KEY="/home/david/.ssh/xi.pub"
export DEVELOPMENT_BUILDFILES="/home/david/docs/proj/xilinux/buildfiles"
export BUILDFILES_GIT_REPO="https://xi.davidovski.xyz/git/buildfiles.git"
diff --git a/xibuild/build_package.sh b/xibuild/build_package.sh
index 44521a9..2a7445e 100755
--- a/xibuild/build_package.sh
+++ b/xibuild/build_package.sh
@@ -189,13 +189,6 @@ build () {
printf "$BLUE\tPackaging package..."
package && printf "$GREEN packaged to $(du -sh "$XIB_EXPORT/repo/$REPO/$NAME.xipkg" | awk '{ print $1 }')!\n" || return 1
- printf "$BLUE\tCreating package info..."
- create_info && printf "$GREEN created info!\n" || return 1
-
- # TODO check if the key exists, if not, skip signing
- printf "$BLUE\tSigning package..."
- sign && printf "$GREEN signed!\n" || return 1
-
cp "$BUILDFILE" "$XIB_EXPORT/repo/$REPO/"
}