mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
autoupdate kernel version at package install and core update scripts.
This commit is contained in:
@@ -196,6 +196,7 @@ define PAK
|
||||
fi
|
||||
cp -v /usr/src/config/rootfiles/packages/$(PROG) /install/packages/package/ROOTFILES
|
||||
sed -e 's/KVER/$(KVER)/g' -i /install/packages/package/ROOTFILES
|
||||
sed -e 's/xxxKVERxxx/$(KVER)/g' -i /install/packages/package/install.sh
|
||||
chmod 755 /install/packages/package/{{,un}install,update}.sh
|
||||
cd / && tar cf /install/packages/package/files.tmp --files-from=/install/packages/package/ROOTFILES --exclude='#*' \
|
||||
-p --numeric-owner
|
||||
|
||||
Reference in New Issue
Block a user