- Store revision ids used to build on target system (/etc/release)
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
overlay/etc/release
|
||||||
3
build.sh
3
build.sh
@@ -1,4 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
PANDA_REV=`git rev-parse HEAD`
|
||||||
|
BR_REV=`(cd buildroot && git rev-parse HEAD)`
|
||||||
|
echo "panda_linux $PANDA_REV (buildroot $BR_REV)" > overlay/etc/release
|
||||||
(
|
(
|
||||||
cd buildroot
|
cd buildroot
|
||||||
BR2_DEFCONFIG=../buildroot.config make defconfig &&
|
BR2_DEFCONFIG=../buildroot.config make defconfig &&
|
||||||
|
|||||||
Reference in New Issue
Block a user