-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ramdisk, make new full ubuntu image
- Loading branch information
1 parent
889d978
commit ab49be4
Showing
8 changed files
with
80 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Build_OpenHD_Beast_Module | ||
|
||
on: [push] | ||
|
||
jobs: | ||
download-file: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Maximize build space | ||
uses: easimon/maximize-build-space@master | ||
with: | ||
root-reserve-mb: 100 | ||
swap-size-mb: 200 | ||
remove-dotnet: 'true' | ||
remove-android: 'true' | ||
remove-haskell: 'true' | ||
remove-codeql: 'true' | ||
remove-docker-images: 'true' | ||
overprovision-lvm: 'true' | ||
- name: remove even more | ||
run: | | ||
sudo apt-get purge -y \ | ||
'^llvm-.*' \ | ||
'php.*' \ | ||
'^mongodb-.*' \ | ||
'^mysql-.*' \ | ||
azure-cli \ | ||
google-chrome-stable \ | ||
firefox \ | ||
powershell \ | ||
microsoft-edge-stable \ | ||
mono-devel | ||
sudo apt-get autoremove -y | ||
sudo apt-get clean | ||
- name: Download file from Sciebo | ||
env: | ||
SCIEBO_USERNAME: ${{ secrets.SCIEBO_USERNAME }} | ||
SCIEBO_PASSWORD: ${{ secrets.SCIEBO_PASSWORD }} | ||
SCIEBO_URL: ${{ secrets.SCIEBO_URL }} | ||
run: | | ||
echo "Downloading file from Sciebo..." | ||
curl -u "$SCIEBO_USERNAME:$SCIEBO_PASSWORD" -O "$SCIEBO_URL/remote.php/webdav/openhd/openhd/rk3566_SDK/prebuild_buildroot.tar.gz" | ||
echo "Download complete." | ||
sudo tar -xzpf prebuild_buildroot.tar.gz -C . | ||
echo "Extraction complete." | ||
sudo chown -R runner:runner opt | ||
cd opt | ||
sudo apt update | ||
sudo apt install liblz4-tool python2 git rsync gcc g++ make device-tree-compiler bc flex bison lz4 libssl-dev libgmp-dev libmpc-dev expect expect-dev file unzip bzip2 fakeroot bsdmainutils | ||
./build.sh cleanall | ||
./build.sh all |
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 |
---|---|---|
|
@@ -81,7 +81,7 @@ valid targets are: | |
|
||
```sh | ||
pi-bullseye | ||
x86-lunar | ||
x86-noble | ||
rock5b | ||
rock5a | ||
radxa-cm3 | ||
|
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
BASE_IMAGE_URL="https://openhd-images.fra1.cdn.digitaloceanspaces.com/BaseImages" | ||
BASE_IMAGE="x86-19012025.img.xz" | ||
BASE_IMAGE_SHA256="fd9114148269e17d2d0d83c33150c67f273c3eea95e3dd7a07a4189926de828e" | ||
OS="ubuntu-x86" | ||
DISTRO="noble" | ||
HAVE_BOOT_PART=false | ||
HAVE_CONF_PART=false | ||
ROOT_PART=3 | ||
BIT="64" |
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