Skip to content

Commit

Permalink
x86 architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
korli committed May 31, 2023
1 parent 9ec1e73 commit 5263469
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- 'r1beta4'

architecture:
- x86
- x86-64

steps:
Expand Down
4 changes: 2 additions & 2 deletions haiku.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ source "qemu" "qemu" {
boot_wait = "45s"

boot_command = [
"<enter><wait20s>",
"<enter><wait30s>",
"<menu><wait5s>",
"<down><down><down><down><down><down><down><down><down><down><right><wait2s>",
"<down><down><down><down><down><down><down><down><down><down><down><down><down><down><down><down><down><down><down><down><down><down><down><down><down><enter><wait5s>",
Expand All @@ -123,7 +123,7 @@ source "qemu" "qemu" {
"Installer<enter><wait2s>",
"<enter><wait3s>",
"<tab><wait1s><tab><wait1s><down><wait1s><up><wait1s><down><wait1s><enter><wait1s><enter><wait45s>",
"<enter>",
"<enter><wait1s>",
"shutdown -r<enter>"
]

Expand Down
7 changes: 6 additions & 1 deletion resources/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ set -exu


install_extra_packages() {
pkgman update -y haiku haiku_devel haiku_loader haiku_datatranslators webpositive
if [[ "`uname -m`" == "BePC" ]]; then
pkgman update -y haiku haiku_devel haiku_loader haiku_datatranslators
pkgman update -y haiku_x86 haiku_x86_devel webpositive_x86
else
pkgman update -y haiku haiku_devel haiku_loader haiku_datatranslators webpositive
fi
}

install_extra_packages
Expand Down
1 change: 1 addition & 0 deletions var_files/r1beta4/x86.pkrvars.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
checksum = "sha256:c184e609a6c0021f9acd2df9fc111c2e12d01107d01f943fbea66c936b063f88"
1 change: 1 addition & 0 deletions var_files/x86.pkrvars.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
architecture = "x86"

0 comments on commit 5263469

Please sign in to comment.