-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #299 from hypnotoad/br-2024-02-6
Update to buildroot 2024.02.5
- Loading branch information
Showing
7 changed files
with
92 additions
and
66 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 |
---|---|---|
@@ -1 +1 @@ | ||
1.0.5 | ||
1.1.0 |
Submodule buildroot
updated
5180 files
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,26 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
[[ $# == 1 ]] || { echo "$0 hostname"; exit 1; } | ||
|
||
txt=$1 | ||
|
||
files="am335x-kno_txt.dtb uImage rootfs.img" | ||
boot=/media/sdcard/boot | ||
|
||
read -s -p "Password for root@$txt?" p | ||
echo | ||
|
||
cd output/images/ | ||
|
||
echo "Preparing" | ||
export SSHPASS=$p | ||
sshpass -e ssh root@$txt mkdir -p $boot/new $boot/old | ||
|
||
echo "Copying" | ||
sshpass -e rsync -tv --progress $files root@$txt:$boot/new | ||
|
||
echo "Activating" | ||
sshpass -e ssh root@$txt "cd $boot && mv $files old && mv new/* ." | ||
echo "Success, rebooting" | ||
sshpass -e ssh root@$txt reboot |
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 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,45 @@ | ||
From a48b0b1cd887d7f3ae67f525d7d334bd2feffe60 Mon Sep 17 00:00:00 2001 | ||
From: Alexander Tsoy <[email protected]> | ||
Date: Tue, 28 Jan 2020 22:21:01 +0300 | ||
Subject: [PATCH] Fix build with -fno-common | ||
|
||
GCC 10 defaults to -fno-common | ||
--- | ||
src/util.c | 3 +++ | ||
src/util.h | 6 +++--- | ||
2 files changed, 6 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/src/util.c b/src/util.c | ||
index a82a1a4..6a52ebf 100644 | ||
--- a/src/util.c | ||
+++ b/src/util.c | ||
@@ -47,6 +47,9 @@ int hxl = 0; | ||
#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD | ||
MUTEX(x11Mutex); | ||
MUTEX(scrollMutex); | ||
+MUTEX(clientMutex); | ||
+MUTEX(inputMutex); | ||
+MUTEX(pointerMutex); | ||
#endif | ||
|
||
int nfix(int i, int n); | ||
diff --git a/src/util.h b/src/util.h | ||
index 35c1afd..99b5dd1 100644 | ||
--- a/src/util.h | ||
+++ b/src/util.h | ||
@@ -102,9 +102,9 @@ extern struct timeval _mysleep; | ||
#ifdef LIBVNCSERVER_HAVE_LIBPTHREAD | ||
extern MUTEX(x11Mutex); | ||
extern MUTEX(scrollMutex); | ||
-MUTEX(clientMutex); | ||
-MUTEX(inputMutex); | ||
-MUTEX(pointerMutex); | ||
+extern MUTEX(clientMutex); | ||
+extern MUTEX(inputMutex); | ||
+extern MUTEX(pointerMutex); | ||
#endif | ||
|
||
#define X_INIT INIT_MUTEX(x11Mutex) | ||
-- | ||
2.24.1 | ||
|