Skip to content

Commit

Permalink
Merge pull request #2 from VCTLabs/noble-arm64
Browse files Browse the repository at this point in the history
Noble arm64
  • Loading branch information
sarnold authored Nov 5, 2024
2 parents aed2e0f + 6156f82 commit cdbda66
Show file tree
Hide file tree
Showing 6 changed files with 125 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ if [[ "${DIST}" = "ubuntu" ]]; then
elif [[ "${SUITE}" = "focal" ]]; then
target="${DIST}-20.04.6"
elif [[ "${SUITE}" = "jammy" ]]; then
target="${DIST}-22.04.3"
target="${DIST}-22.04.5"
elif [[ "${SUITE}" = "noble" ]]; then
target="${DIST}-24.04.1"
fi
fi

Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build_images:
Expand All @@ -28,6 +27,10 @@ jobs:
suite: jammy
major: 22
arch: arm64
- dist: ubuntu
suite: noble
major: 24
arch: arm64

steps:
- uses: actions/checkout@v4
Expand All @@ -39,19 +42,21 @@ jobs:
with:
repository: CirrusLogic/linux-firmware
path: git/linux-firmware
ref: cs35l56-20241031

- name: Common dependencies
run: |
sudo apt-get -qq update
sudo apt-get install -y debootstrap qemu-user-static binfmt-support
sudo apt-get install -yqq ubuntu-keyring ubuntu-cloud-keyring debian-keyring debian-archive-keyring
- name: Build image
run: |
./.github/ci_build.sh ${{ matrix.dist }} ${{ matrix.suite }}
ls -lh deploy/
- name: Upload image
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.dist }}-${{ matrix.suite }}-${{ matrix.arch }}
path: deploy/${{ matrix.dist }}-${{ matrix.major }}*${{ matrix.arch }}*.tar.xz
15 changes: 10 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
suite: jammy
major: 22
arch: arm64
- dist: ubuntu
suite: noble
major: 24
arch: arm64

steps:
- uses: actions/checkout@v4
Expand All @@ -39,6 +43,7 @@ jobs:
with:
repository: CirrusLogic/linux-firmware
path: git/linux-firmware
ref: cs35l56-20241031

- name: Common dependencies
run: |
Expand All @@ -51,7 +56,7 @@ jobs:
ls -lh deploy/
- name: Upload image
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: rootfs
path: deploy/${{ matrix.dist }}-${{ matrix.major }}*${{ matrix.arch }}*.tar.xz
Expand All @@ -68,21 +73,21 @@ jobs:
echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
echo ${{ env.VERSION }}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

# download all artifacts to project dir
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4

- name: Generate changes file
uses: sarnold/gitchangelog-action@master
uses: sarnold/gitchangelog-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN}}

- name: Create release
id: create_release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion configs/eewiki_minfs_ubuntu_jammy_arm64.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##
release="22.04.3"
release="22.04.5"
image_type="minimal"
##
##Debootstrap: https://wiki.debian.org/Debootstrap
Expand Down
101 changes: 101 additions & 0 deletions configs/eewiki_minfs_ubuntu_noble_arm64.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
##
release="24.04.1"
image_type="minimal"
##
##Debootstrap: https://wiki.debian.org/Debootstrap
##
##debootstrap --arch=${deb_arch} --include=${deb_include} --exclude=${deb_exclude} \
##--components=${deb_components} --variant=${deb_variant} --foreign ${deb_codename} \
##/tmp/tmp.dir/ http://${deb_mirror}
##
deb_distribution="ubuntu"
deb_codename="noble"
deb_arch="arm64"
deb_mirror=""
deb_components="main universe multiverse"
#
deb_include=" \
avahi-utils \
bash-completion \
bc \
bsdmainutils \
btrfs-progs \
ca-certificates \
cloud-guest-utils \
curl \
device-tree-compiler \
dosfstools \
gnupg \
git \
gnupg \
hexedit \
hostapd \
i2c-tools \
initramfs-tools \
iw \
libinline-files-perl \
libnss-mdns \
libnss-systemd \
libpam-systemd \
linux-base \
linux-firmware \
locales \
lsb-release \
nano \
net-tools \
nginx \
openssh-server \
pastebinit \
rsync \
ssl-cert \
sudo \
tio \
u-boot-tools \
unzip \
usb-modeswitch \
usbutils \
vim \
wget \
wpasupplicant \
"

#
deb_exclude=""
#
##
##Some packages fail to install via debootstrap: deb_additional_pkgs="<comma|space>"
##
deb_additional_pkgs=" \
network-manager \
"

##
rfs_username="ubuntu"
rfs_fullname="Demo User"
rfs_password="temppwd"
rfs_hostname="arm"
rfs_root_password="root"
#rfs_startup_scripts="enable"
#rfs_opt_scripts="https://github.com/RobertCNelson/boot-scripts"
#rfs_default_desktop=""
#rfs_desktop_background=""
rfs_default_locale="en_US.UTF-8"
rfs_console_banner=""
rfs_console_user_pass="enable"
rfs_ssh_banner=""
rfs_ssh_user_pass=""
##
##enable kernel repo: http://repos.rcn-ee.com/(debian|ubuntu)
#repo_rcnee="enable"
#repo_rcnee_arch="arm64"
#repo_rcnee_pkg_list=" \
# generic-sys-mods \
#"
##
include_firmware="enable"
##
#chroot_very_small_image=""
chroot_tarball="enable"
keep_ssh_keys="enable"
rfs_disable_grow_partition="enable"
rfs_disable_usb_gadgets="enable"
3 changes: 3 additions & 0 deletions scripts/debootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ check_defines () {
exit 1
else
suite="${deb_codename}"
if [ "x${deb_codename}" = "xbionic" ] ; then
options="${options} --no-check-gpg"
fi
fi

case "${deb_distribution}" in
Expand Down

0 comments on commit cdbda66

Please sign in to comment.