1
0
forked from tools/pkgutils

handle kernel-version better, add arch detection to slim down arm overlays

This commit is contained in:
Tim Biermann 2024-10-12 13:06:01 +02:00
parent 8d1ed3fe6d
commit a7d4a0f64f
Signed by: tb
GPG Key ID: 42F8B4E30B673606

View File

@ -251,9 +251,14 @@ make_md5sum() {
}
make_footprint() {
pkginfo --footprint $TARGET | \
sed "s|\tlib/modules/`uname -r`/|\tlib/modules/<kernel-version>/|g" | \
sort -k 3
KERNEL_VERSION=$(uname -r)
ARCH=$(uname -m)
pkginfo --footprint "$TARGET" | \
sed \
-e "s|$KERNEL_VERSION|<kernel-version>|g" \
-e "s|$ARCH|<arch>|g" | \
sort -k 3
}
check_md5sum() {