-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d3a3bb1
commit 2acc130
Showing
14 changed files
with
135 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,19 @@ | ||
#!/bin/bash | ||
#This file is the install instruction for the CHROOT build | ||
#We're using cloudsmith-cli to upload the file in CHROOT | ||
# This file is the install instruction for the CHROOT build | ||
# We're using cloudsmith-cli to upload the file in CHROOT | ||
|
||
echo "____________build like a rockSTAR___________" | ||
sudo apt install -y python3-pip git | ||
sudo pip3 install --upgrade cloudsmith-cli | ||
bash install_build_dep.sh rock5 | ||
mkdir -p /usr/local/share/openhd/platform/rock/ | ||
sudo ./package.sh arm64 debian bullseye-rock5 || exit 1 | ||
mkdir -p /opt/out/ | ||
cp -v *.dep /opt/out/ | ||
echo "copied deb file" | ||
echo "push to cloudsmith" | ||
git describe --exact-match HEAD >/dev/null 2>&1 | ||
echo "Pushing the package to OpenHD dev-release repository" | ||
ls -a | ||
API_KEY=$(cat cloudsmith_api_key.txt) | ||
cloudsmith push deb --api-key "$API_KEY" openhd/release/debian/bullseye qopenhd_rk3566*.deb || exit 1 | ||
cloudsmith push deb --api-key "$API_KEY" openhd/release/debian/bullseye qopenhd_rk3588a*.deb || exit 1 | ||
rm -Rf qopenhd_rk3588a*.deb | ||
cloudsmith push deb --api-key "$API_KEY" openhd/release/debian/bullseye qopenhd_rk3588*.deb || exit 1 | ||
DISTRO=$(cat distro.txt) | ||
FLAVOR=$(cat flavor.txt) | ||
REPO=$(cat repo.txt) | ||
CUSTOM=$(cat custom.txt) | ||
ARCH=$(cat arch.txt) | ||
|
||
echo ${DISTRO} | ||
echo ${FLAVOR} | ||
echo ${CUSTOM} | ||
echo ${ARCH} | ||
|
||
bash install_build_dep.sh rock5 | ||
sudo ./package.sh ${CUSTOM} ${ARCH} ${DISTRO} ${FLAVOR} || exit 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,3 +125,5 @@ else | |
--after-install after-install.sh \ | ||
${PLATFORM_PACKAGES} || exit 1 | ||
fi | ||
ls -a | ||
cp *.deb /out/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters