forked from tools/pkgutils
handle kernel-version better, add arch detection to slim down arm overlays
This commit is contained in:
parent
8d1ed3fe6d
commit
a7d4a0f64f
11
pkgmk.in
11
pkgmk.in
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user