mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/alpine-conf: upgrade to 3.17.1
This commit is contained in:
parent
2cca7734d0
commit
8c1f4537e5
@ -1,47 +0,0 @@
|
||||
From 575a5bb38ad82ae636131c7330aed73ded8e0e4b Mon Sep 17 00:00:00 2001
|
||||
From: Natanael Copa <ncopa@alpinelinux.org>
|
||||
Date: Thu, 21 Dec 2023 10:59:18 +0100
|
||||
Subject: [PATCH] update-kernel: support more System.map and config-* files
|
||||
|
||||
Also support Sytem.map and config with kernel release suffix.
|
||||
---
|
||||
tests/bin/apk | 2 +-
|
||||
update-kernel.in | 9 ++++-----
|
||||
2 files changed, 5 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/tests/bin/apk b/tests/bin/apk
|
||||
index 9868230..aaed957 100755
|
||||
--- a/tests/bin/apk
|
||||
+++ b/tests/bin/apk
|
||||
@@ -85,7 +85,7 @@ for pkg in $pkgs; do
|
||||
flavor=${pkg#linux-}
|
||||
mkdir -p "$rootfs"/lib/modules/$kver-$flavor/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac \
|
||||
"$rootfs"/boot
|
||||
- touch "$rootfs"/boot/System.map-$flavor \
|
||||
+ touch "$rootfs"/boot/System.map-$kver-$flavor \
|
||||
"$rootfs"/boot/config-$flavor \
|
||||
"$rootfs"/boot/vmlinuz-$flavor
|
||||
cat >"$rootfs/lib/modules/$kver-$flavor"/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko <<-EOF
|
||||
diff --git a/update-kernel.in b/update-kernel.in
|
||||
index ae4ed0f..cb300a1 100644
|
||||
--- a/update-kernel.in
|
||||
+++ b/update-kernel.in
|
||||
@@ -351,11 +351,10 @@ $MOCK mkinitfs $MKINITFS_ARGS -q -b $ROOTFS -F "$features base squashfs" \
|
||||
-o "$STAGING/initramfs-$FLAVOR" "$KVER"
|
||||
|
||||
for file in System.map config vmlinuz; do
|
||||
- if [ -f "$BOOT/$file-$FLAVOR" ]; then
|
||||
- cp "$BOOT/$file-$FLAVOR" $STAGING
|
||||
- else
|
||||
- cp "$BOOT/$file" $STAGING
|
||||
- fi
|
||||
+ cp "$BOOT/$file-$KVER" "$STAGING" 2>/dev/null \
|
||||
+ || cp "$BOOT/$file-$FLAVOR" "$STAGING" 2>/dev/null \
|
||||
+ || cp "$BOOT/$file" "$STAGING" 2>/dev/null \
|
||||
+ || { echo "Failed to copy $file-$KVER, $file-$FLAVOR or $file" >&2; exit 1; }
|
||||
done
|
||||
|
||||
if [ "$MNTDIR" ]; then
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=alpine-conf
|
||||
pkgver=3.17.0
|
||||
pkgrel=1
|
||||
pkgver=3.17.1
|
||||
pkgrel=0
|
||||
pkgdesc="Alpine configuration management scripts"
|
||||
url="https://git.alpinelinux.org/alpine-conf/about"
|
||||
arch="all"
|
||||
@ -9,7 +9,6 @@ license="MIT"
|
||||
depends="openrc>=0.24.1-r6 busybox>=1.26.1-r3"
|
||||
checkdepends="kyua"
|
||||
source="https://gitlab.alpinelinux.org/alpine/alpine-conf/-/archive/$pkgver/alpine-conf-$pkgver.tar.gz
|
||||
0001-update-kernel-support-more-System.map-and-config-fil.patch
|
||||
"
|
||||
|
||||
build() {
|
||||
@ -28,6 +27,5 @@ check() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
22e67984e21606c3ba8eb67cb8b0aad4d09f9996d5e8504e2d69fdac66fe5e348b2bacce3290378f588cc3d835cb2d22b55cef40f3552cc1735c1e242b88f8e1 alpine-conf-3.17.0.tar.gz
|
||||
7f3e0853461733b7054babdead597cbe2c00ce28a3e2d77a7380fa657009bc05ea5eb5637054bbf3f33e5f8315f95227173ad0999c90b3bb621511e3c9a77a53 0001-update-kernel-support-more-System.map-and-config-fil.patch
|
||||
69651480974847912c113b4d14b6949d19636fca23cc4ae8659db5396adcb1f2e567f97e04f7b2084ba7bc1c693e5055231df20ebe6ea8b38940db2ffdd4cb90 alpine-conf-3.17.1.tar.gz
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user