Skip to content

Commit

Permalink
add nobel
Browse files Browse the repository at this point in the history
ubuntu24.04 is released.

Signed-off-by: JeanTracker <hyojoong.kim.jean@gmail.com>
  • Loading branch information
JeanTracker committed Jun 27, 2024
1 parent 5f66a56 commit 31cc7d1
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker-publish-rootfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
jammy_x64,
jammy_arm64,
jammy_armhf,
noble_x64,
noble_arm64,
noble_armhf,
]
steps:
- name: Check out the repo
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/manual.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
jammy_x64,
jammy_arm64,
jammy_armhf,
noble_x64,
noble_arm64,
noble_armhf,
]
steps:
- name: Comment
Expand Down
27 changes: 27 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,29 @@ case "$1" in
CROSS=1
;;

"noble_x64")
CHROOT=noble-amd64
HOST=amd64
DIST=noble
CROSS=0
;;

"noble_arm64")
CHROOT=noble-amd64-arm64
HOST=arm64
DIST=noble
QEMU=qemu-aarch64
CROSS=1
;;

"noble_armhf")
CHROOT=noble-amd64-armhf
HOST=armhf
DIST=noble
QEMU=qemu-armhf
CROSS=1
;;

*)
exit 1
esac
Expand All @@ -109,6 +132,10 @@ else
docker exec -t $1 bash -c "mk-sbuild --arch $HOST $DIST && sudo sed -i 's/^union-type=.*/union-type=overlay/' /etc/schroot/chroot.d/sbuild-$CHROOT && sbuild-update $CHROOT && sbuild-upgrade $CHROOT"
fi

if [[ -n "${QEMU+x}" && "$CROSS" -eq 1 ]]; then
docker exec -t $1 bash -c "update-binfmts --enable $QEMU"
fi

# Install essential packages
docker exec -t $1 sudo bash -c "cd / && schroot -c source:$CHROOT -u root -- apt-get install -y apt-transport-https ca-certificates"

Expand Down

0 comments on commit 31cc7d1

Please sign in to comment.