mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-04-06 06:43:53 +08:00
fix userdata build
This commit is contained in:
@@ -38,6 +38,9 @@ function create_image() {
|
||||
sudo git -C $MNTDIR/openpilot branch -m $RELEASE_BRANCH
|
||||
sudo git -C $MNTDIR/openpilot branch --set-upstream-to=origin/$RELEASE_BRANCH
|
||||
|
||||
# assume comma is the first non root user created
|
||||
sudo chown 1000:1000 -R $MNTDIR/openpilot
|
||||
|
||||
echo "clone done for $(sudo cat $MNTDIR/openpilot/common/version.h)"
|
||||
sudo umount $MNTDIR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user