* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. bef1bf4526e15379b2c308c938e05f83181d54e3
@ 2023-11-22 21:53 Peter Müller
0 siblings, 0 replies; only message in thread
From: Peter Müller @ 2023-11-22 21:53 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 3111 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via bef1bf4526e15379b2c308c938e05f83181d54e3 (commit)
via 62f2f2ab9da638756d0a13ffe1605d6ef414c438 (commit)
from 215a640e6f72bdaa5c07d3bbff8079015e70fba6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bef1bf4526e15379b2c308c938e05f83181d54e3
Author: Peter Müller <peter.mueller(a)ipfire.org>
Date: Wed Nov 22 21:52:59 2023 +0000
update.sh: Remove superflous KVER variable
Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
commit 62f2f2ab9da638756d0a13ffe1605d6ef414c438
Author: Peter Müller <peter.mueller(a)ipfire.org>
Date: Wed Nov 22 21:50:15 2023 +0000
Core Update 172: Ship u-boot and regenerate all initrds
This ensures the newly compiled mkimage is executed on the system.
Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
.../159 => core/182}/filelists/aarch64/u-boot | 0
config/rootfiles/core/182/update.sh | 20 ++++++++++++++++++++
2 files changed, 20 insertions(+)
copy config/rootfiles/{oldcore/159 => core/182}/filelists/aarch64/u-boot (100%)
Difference in files:
diff --git a/config/rootfiles/core/182/filelists/aarch64/u-boot b/config/rootfiles/core/182/filelists/aarch64/u-boot
new file mode 120000
index 000000000..2a16bdbfe
--- /dev/null
+++ b/config/rootfiles/core/182/filelists/aarch64/u-boot
@@ -0,0 +1 @@
+../../../../common/aarch64/u-boot
\ No newline at end of file
diff --git a/config/rootfiles/core/182/update.sh b/config/rootfiles/core/182/update.sh
index b03183e9c..4114c5f0f 100644
--- a/config/rootfiles/core/182/update.sh
+++ b/config/rootfiles/core/182/update.sh
@@ -37,6 +37,11 @@ done
/etc/rc.d/init.d/unbound stop
/etc/rc.d/init.d/sshd stop
+# Backup uEnv.txt if exist
+if [ -e /boot/uEnv.txt ]; then
+ cp -vf /boot/uEnv.txt /boot/uEnv.txt.org
+fi
+
# Extract files
extract_files
@@ -83,6 +88,21 @@ if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
/etc/rc.d/init.d/ipsec start
fi
+# Rebuild initial ramdisks
+dracut --regenerate-all --force
+KVER="xxxKVERxxx"
+case "$(uname -m)" in
+ aarch64)
+ mkimage -A arm64 -T ramdisk -C lzma -d /boot/initramfs-${KVER}-ipfire.img /boot/uInit-${KVER}-ipfire
+ # dont remove initramfs because grub need this to boot.
+ ;;
+esac
+
+# Call user update script (needed for some ARM boards)
+if [ -e /boot/pakfire-kernel-update ]; then
+ /boot/pakfire-kernel-update ${KVER}
+fi
+
# This update needs a reboot...
touch /var/run/need_reboot
hooks/post-receive
--
IPFire 2.x development tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-22 21:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-22 21:53 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. bef1bf4526e15379b2c308c938e05f83181d54e3 Peter Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox