-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into increase-udp-buffer-sizes
- Loading branch information
Showing
20 changed files
with
101 additions
and
61 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 |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
jobs: | ||
|
||
build: | ||
runs-on: github-arm64-2c-8gb | ||
runs-on: ARM64 | ||
env: | ||
ARCH: amd64 | ||
steps: | ||
|
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package_dir: /out | ||
|
||
image: ubuntu:24.04 | ||
|
||
prelude: | ||
- apt-get update -y && apt-get install -y gcc gcc-aarch64-linux-gnu git make flex bc bison libssl-dev xz-utils kmod | ||
- git clone --branch {{ .Values.version }} --depth 1 https://github.com/raspberrypi/linux.git linux | ||
|
||
steps: | ||
- mkdir -p make /build | ||
- mkdir -p /out/boot/overlays | ||
- cd linux && CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 make O=/build bcm2711_defconfig | ||
- cd linux && CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 make O=/build -j $(nproc) Image.gz modules dtbs | ||
- cd linux && CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 make O=/build INSTALL_MOD_PATH=/out modules_install | ||
- cp /build/arch/arm64/boot/dts/broadcom/*.dtb /out/boot/ | ||
- cp /build/arch/arm64/boot/dts/overlays/*.dtb* /out/boot/overlays/ | ||
- cp /build/arch/arm64/boot/Image.gz /out/boot/Image |
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 @@ | ||
packages: | ||
- name: "linux-rpi" | ||
category: "kernels" | ||
version: "rpi-6.6.y" | ||
labels: | ||
github.repo: "raspberrypi" | ||
autobump.revdeps: "true" | ||
github.owner: "kernel" | ||
autobump.skip_if_contains: '["rc"]' |
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,4 +1,4 @@ | ||
packages: | ||
- name: "kairos-overlay-files" | ||
category: "static" | ||
version: "1.1.47" | ||
version: "1.1.52" |
15 changes: 3 additions & 12 deletions
15
packages/static/kairos-overlay-files/files/system/oem/00_home_dir_owner_fix.yaml
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,15 +1,6 @@ | ||
name: "Fix home directory permissions (kairos issue #2797)" | ||
stages: | ||
initramfs.after: | ||
- name: "Fix permissions" | ||
network.after: | ||
- name: "Fix home dir ownership" | ||
commands: | ||
- | | ||
# Iterate over users in /etc/passwd and chown their directories | ||
awk -F: '$3 >= 1000 && $6 ~ /^\/home\// {print $1, $6}' /etc/passwd | while read -r user homedir; do | ||
if [ -d "$homedir" ]; then # Check if the home directory exists | ||
echo "Changing ownership of $homedir to $user" | ||
chown -R "$user":"$user" "$homedir" | ||
else | ||
echo "Directory $homedir does not exist for user $user" | ||
fi | ||
done | ||
- "/usr/bin/fix-home-dir-ownership" |
1 change: 0 additions & 1 deletion
1
packages/static/kairos-overlay-files/files/system/oem/11_RPI.yaml
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,4 +1,3 @@ | ||
#cloud-config | ||
name: "RPI configs" | ||
stages: | ||
initramfs.before: | ||
|
24 changes: 24 additions & 0 deletions
24
packages/static/kairos-overlay-files/files/usr/bin/fix-home-dir-ownership
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,24 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
SENTINEL_FILE="/usr/local/.kairos/skip-home-directory-ownership-fix" | ||
|
||
if [ -f $SENTINEL_FILE ]; then | ||
echo "Skipping ownership fix because sentinel file was found: $SENTINEL_FILE" | ||
exit 0 | ||
fi | ||
|
||
# Iterate over users in /etc/passwd and chown their directories | ||
awk -F: '$3 >= 1000 && $6 ~ /^\/home\// {print $1, $6}' /etc/passwd | while read -r user homedir; do | ||
if [ -d "$homedir" ]; then # Check if the home directory exists | ||
echo "Changing ownership of $homedir to $user" | ||
chown -R "$user":"$user" "$homedir" | ||
else | ||
echo "Directory $homedir does not exist for user $user" | ||
fi | ||
done | ||
|
||
# Write the sentinel file | ||
mkdir -p "$(dirname $SENTINEL_FILE)" | ||
echo "https://github.com/kairos-io/kairos/issues/2843" > $SENTINEL_FILE |
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,7 +1,7 @@ | ||
packages: | ||
- name: "provider-kairos" | ||
category: "system" | ||
version: "2.7.3" | ||
version: "2.7.4" | ||
labels: | ||
github.repo: "provider-kairos" | ||
github.owner: "kairos-io" |
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
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